<div dir="ltr">Hi Andy,<div><br></div><div>Thank you for your reply, this worked finally. The script ran smoothly after I deleted all the files in the system. </div><div><br></div><div>I just have one more question. Can you please also tell me the environment variable I need to put in my ~/.bashrc file , so that I don't have to run </div>

<div><br></div><div>$ source ~/PREFIX/rivetenv.sh </div><div><br></div><div>every time I run rivet in shell. This would be more convenient. </div><div><br></div><div>Thanking you,</div><div>Swasti.</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Sat, Feb 1, 2014 at 11:29 PM, Andy Buckley <span dir="ltr"><<a href="mailto:andy.buckley@cern.ch" target="_blank">andy.buckley@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Swasti,<br>
<br>
This is strange. Can you try running "locate yaml.h" on your machine to<br>
make sure there isn't more than one of them?<br>
<br>
I'm copying this back to the Rivet list -- I didn't realise you had<br>
dropped it from the CC. Frank Siegert is the author of the<br>
rivet-2-bootstrap script, and hopefully can help to get you up and<br>
running (I have not yet tried to run this version).<br>
<br>
Andy<br>
<br>
<br>
On 31/01/14 15:20, Swasti Belwal wrote:<br>
> Hi Andy,<br>
><br>
> Well, I did as you suggested, but there is still a problem. Now it gives<br>
> an error in make like this:<br>
><br>
> {(similar errors of this kind, i just pasted last two of them)......<br>
><br>
> AnalysisInfo.cc:214:70: error: 'const class YAML::Node' has no member<br>
> named 'as'<br>
>              beam_energy_pairs += make_pair(be[0].as<double>(),<br>
> be[1].as<double>());<br>
>                                                                       ^<br>
> AnalysisInfo.cc:214:73: error: expected primary-expression before 'double'<br>
>              beam_energy_pairs += make_pair(be[0].as<double>(),<br>
> be[1].as<double>());<br>
>                                                                          ^<br>
> In file included from ../../include/Rivet/Math/MathUtils.hh:5:0,<br>
>                  from ../../include/Rivet/Rivet.hh:36,<br>
>                  from AnalysisInfo.cc:1:<br>
> ../../include/Rivet/Math/MathHeader.hh: At global scope:<br>
> ../../include/Rivet/Math/MathHeader.hh:45:16: warning: 'Rivet::MAXINT'<br>
> defined but not used [-Wunused-variable]<br>
>    const double MAXINT = std::numeric_limits<int>::max();<br>
>                 ^<br>
> make[2]: *** [libRivetCore_la-AnalysisInfo.lo] Error 1<br>
> make[2]: *** Waiting for unfinished jobs....<br>
> make[2]: Leaving directory<br>
> `/home/swasti/Programs/rivetlocal/Rivet-2.0.0/src/Core'<br>
<div class="im">> make[1]: *** [all-recursive] Error 1<br>
> make[1]: Leaving directory<br>
</div>> `/home/swasti/Programs/rivetlocal/Rivet-2.0.0/src'<br>
> make: *** [all-recursive] Error 1<br>
> }<br>
><br>
> Seems, there is something wrong with the code in AnalysisInfo.cc,<br>
> related to YAML. Seems it still cannot satisfy #include<br>
> "yaml-cpp/yaml.h" in the code.<br>
><br>
> Regards,<br>
> Swasti.<br>
><br>
><br>
><br>
> On Fri, Jan 31, 2014 at 2:44 PM, Andy Buckley <<a href="mailto:andy.buckley@cern.ch">andy.buckley@cern.ch</a><br>
> <mailto:<a href="mailto:andy.buckley@cern.ch">andy.buckley@cern.ch</a>>> wrote:<br>
><br>
>     Hmm, so it's not finding the system yaml-cpp. Probably the easiest thing<br>
>     is to uninstall the system copy and just run<br>
><br>
>     INSTALL_AUTOTOOLS=0 INSTALL_BOOST=0 INSTALL_GSL=0 ./rivet-2-bootstrap<br>
><br>
>     Good luck -- apologies that it's not yet fully smooth! It's useful to<br>
>     know, so we can try to improve.<br>
><br>
>     Andy<br>
><br>
><br>
>     On 31/01/14 13:35, Swasti Belwal wrote:<br>
<div><div class="h5">>     > On 01/30/2014 10:49 PM, Andy Buckley wrote:<br>
>     >> Hi Swasti,<br>
>     >><br>
>     >> This is very strange -- the first bootstrap script you tried was the<br>
>     >> correct one, but it fails while compiling m4, of which you<br>
>     already have<br>
>     >> a perfectly good version on your Ubuntu 13.10. The script is<br>
>     >> intentionally stupid about that and just installs everything but<br>
>     I don't<br>
>     >> know why m4 would be troublesome!<br>
>     >><br>
>     >> Probably the best thing to do is to comment out the bits of the<br>
>     >> bootstrap that you don't need. For example if you use Ubuntu's own<br>
>     >> package system with e.g. "apt-get install build-essential autoconf<br>
>     >> automake m4 libtool libboost-dev libgsl0-dev python-dev<br>
>     libyaml-cpp-dev"<br>
>     >> then you will only need to install the HEP-specific packages HepMC,<br>
>     >> FastJet, and YODA before building Rivet. This is done in the<br>
>     >> rivet-2-bootstrap script by setting the INSTALL_AUTOTOOLS,<br>
>     >> INSTALL_BOOST, INSTALL_GSL, etc. variables to 0, e.g.<br>
>     >><br>
>     >> INSTALL_AUTOTOOLS=0 INSTALL_BOOST=0 INSTALL_GSL=0 INSTALL_YAMLCPP=0<br>
>     >> ./rivet-2-bootstrap<br>
>     >><br>
>     >> Please give that a try and let us know if it works any better. We<br>
>     just<br>
>     >> updated the bootstrap script, so probably your feedback will help<br>
>     us to<br>
>     >> improve the script and documentation.<br>
>     >><br>
>     >> Cheers,<br>
>     >> Andy<br>
>     >><br>
>     >> PS. Where did you get the old rivet-bootstrap from? That has been<br>
>     >> retired and is only available in the downloads area, in a renamed<br>
>     form,<br>
>     >> in case people need it to get rivet version 1 working. As you<br>
>     noticed,<br>
>     >> it doesn't work very well, because it's trying to do too many things.<br>
>     >> Definitely you shouldn't need to install Cython -- that's needed<br>
>     for the<br>
>     >> developers only.<br>
>     >><br>
>     >><br>
>     >> On 30/01/14 21:16, Swasti Belwal wrote:<br>
>     >>> Dear Developers,<br>
>     >>><br>
>     >>> I am trying to install the latest version of Rivet (available in<br>
>     >>> Hepforge) in Ubuntu 13.10. First I tried using the installation<br>
>     >>> instruction on the webpage<br>
>     >>> (<a href="https://rivet.hepforge.org/trac/wiki/GettingStarted" target="_blank">https://rivet.hepforge.org/trac/wiki/GettingStarted</a>) as it<br>
>     downloads<br>
>     >>> all the dependencies itself but I got the following error in end:<br>
>     >>><br>
>     >>> {<br>
>     >>> $ ./rivet-2-bootstrap<br>
>     >>> Running Rivet 2.x bootstrap script<br>
>     >>><br>
>     >>> Building m4<br>
>     >>> checking for a BSD-compatible install... /usr/bin/install -c<br>
>     >>> checking whether build environment is sane... yes<br>
>     >>> checking for a thread-safe mkdir -p... /bin/mkdir -p<br>
>     >>> checking for gawk... no<br>
>     >>> checking for mawk... mawk<br>
>     >>> checking whether make sets $(MAKE)... yes<br>
>     >>> checking for gcc... gcc<br>
>     >>> checking whether the C compiler works... yes<br>
>     >>> checking for C compiler default output file name... a.out<br>
>     >>> checking for suffix of executables...<br>
>     >>> checking whether we are cross compiling... no<br>
>     >>> checking for suffix of object files... o<br>
>     >>> checking whether we are using the GNU C compiler... yes<br>
>     >>> checking whether gcc accepts -g... yes<br>
>     >>> checking for gcc option to accept ISO C89... none needed<br>
>     >>> checking for style of include used by make... GNU<br>
>     >>> checking dependency style of gcc... gcc3<br>
>     >>> checking for ranlib... ranlib<br>
>     >>> checking whether gcc and cc understand -c and -o together... yes<br>
>     >>> checking build system type... x86_64-unknown-linux-gnu<br>
>     >>> checking host system type... x86_64-unknown-linux-gnu<br>
>     >>> checking how to run the C preprocessor... gcc -E<br>
>     >>> checking for grep that handles long lines and -e... /bin/grep<br>
>     >>> checking for egrep... /bin/grep -E<br>
>     >>> checking for ANSI C header files... yes<br>
>     >>> checking for sys/types.h... yes<br>
>     >>> checking for sys/stat.h... yes<br>
>     >>> checking for stdlib.h... yes<br>
>     >>> checking for string.h... yes<br>
>     >>> checking for memory.h... yes<br>
>     >>> checking for strings.h... yes<br>
>     >>> checking for inttypes.h... yes<br>
>     >>> checking for stdint.h... yes<br>
>     >>> checking for unistd.h... yes<br>
>     >>> checking minix/config.h usability... no<br>
>     >>> checking minix/config.h presence... no<br>
>     >>> checking for minix/config.h... no<br>
>     >>> checking whether it is safe to define __EXTENSIONS__... yes<br>
>     >>> checking for _LARGEFILE_SOURCE value needed for large files... no<br>
>     >>> checking for gcc option to accept ISO C99... -std=gnu99<br>
>     >>> checking for gcc -std=gnu99 option to accept ISO Standard C...<br>
>     (cached)<br>
>     >>> -std=gnu99<br>
>     >>> configure: autobuild project... GNU M4<br>
>     >>> configure: autobuild revision... 1.4.16<br>
>     >>> configure: autobuild hostname... swasti-Inspiron-5521<br>
>     >>> configure: autobuild timestamp... 20140130T195542Z<br>
>     >>> checking for unsigned long long int... yes<br>
>     >>> checking for long long int... yes<br>
>     >>> checking for unsigned long long int... (cached) yes<br>
>     >>> checking for working alloca.h... yes<br>
>     >>> checking for alloca... yes<br>
>     >>> checking whether <wchar.h> uses 'inline' correctly... yes<br>
>     >>> checking for btowc... yes<br>
>     >>> checking for setrlimit... yes<br>
>     >>> checking for sigaltstack... yes<br>
>     >>> checking for canonicalize_file_name... yes<br>
>     >>> checking for getcwd... yes<br>
>     >>> checking for readlink... yes<br>
>     >>> checking for realpath... yes<br>
>     >>> checking for dup2... yes<br>
>     >>> checking for fcntl... yes<br>
>     >>> checking for mempcpy... yes<br>
>     >>> checking for __fpending... yes<br>
>     >>> checking for fpurge... no<br>
>     >>> checking for __fpurge... yes<br>
>     >>> checking for __freading... yes<br>
>     >>> checking for getdtablesize... yes<br>
>     >>> checking for gettimeofday... yes<br>
>     >>> checking for lstat... yes<br>
>     >>> checking for mbsinit... yes<br>
>     >>> checking for mbrtowc... yes<br>
>     >>> checking for mprotect... yes<br>
>     >>> checking for memchr... yes<br>
>     >>> checking for mkstemp... yes<br>
>     >>> checking for nl_langinfo... yes<br>
>     >>> checking for pathconf... yes<br>
>     >>> checking for pipe2... yes<br>
>     >>> checking for posix_spawn... yes<br>
>     >>> checking for isblank... yes<br>
>     >>> checking for iswctype... yes<br>
>     >>> checking for wcscoll... yes<br>
>     >>> checking for sigaction... yes<br>
>     >>> checking for siginterrupt... yes<br>
>     >>> checking for strndup... yes<br>
>     >>> checking for pipe... yes<br>
>     >>> checking for vasnprintf... no<br>
>     >>> checking for wcrtomb... yes<br>
>     >>> checking for iswcntrl... yes<br>
>     >>> checking for link... yes<br>
>     >>> checking for newlocale... yes<br>
>     >>> checking for setenv... yes<br>
>     >>> checking for strdup... yes<br>
>     >>> checking for symlink... yes<br>
>     >>> checking for wctob... yes<br>
>     >>> checking for nl_langinfo and CODESET... yes<br>
>     >>> checking for a traditional french locale... none<br>
>     >>> checking for ucontext.h... yes<br>
>     >>> checking for unistd.h... (cached) yes<br>
>     >>> checking for sys/param.h... yes<br>
>     >>> checking for stdio_ext.h... yes<br>
>     >>> checking for getopt.h... yes<br>
>     >>> checking for sys/time.h... yes<br>
>     >>> checking for langinfo.h... yes<br>
>     >>> checking for math.h... yes<br>
>     >>> checking for sys/mman.h... yes<br>
>     >>> checking for sched.h... yes<br>
>     >>> checking for spawn.h... yes<br>
>     >>> checking for wchar.h... yes<br>
>     >>> checking for stdint.h... (cached) yes<br>
>     >>> checking for sys/socket.h... yes<br>
>     >>> checking for sys/stat.h... (cached) yes<br>
>     >>> checking for sys/wait.h... yes<br>
>     >>> checking for features.h... yes<br>
>     >>> checking for wctype.h... yes<br>
>     >>> checking for xlocale.h... yes<br>
>     >>> checking for working C stack overflow detection... yes<br>
>     >>> checking for correct stack_t interpretation... yes<br>
>     >>> checking for precise C stack overflow detection... no<br>
>     >>> checking for ld used by GCC... /usr/bin/ld<br>
>     >>> checking if the linker (/usr/bin/ld) is GNU ld... yes<br>
>     >>> checking for shared library run path origin... done<br>
>     >>> checking for libsigsegv... no, consider installing GNU libsigsegv<br>
>     >>> checking whether // is distinct from /... no<br>
>     >>> checking whether realpath works... yes<br>
>     >>> checking if environ is properly declared... yes<br>
>     >>> checking whether the preprocessor supports include_next... yes<br>
>     >>> checking whether system header files limit the line length... no<br>
>     >>> checking for complete errno.h... yes<br>
>     >>> checking whether strerror_r is declared... yes<br>
>     >>> checking for strerror_r... yes<br>
>     >>> checking whether strerror_r returns char *... yes<br>
>     >>> checking for inline... inline<br>
>     >>> checking for mode_t... yes<br>
>     >>> checking for sig_atomic_t... yes<br>
>     >>> checking for working fcntl.h... yes<br>
>     >>> checking for fseeko... yes<br>
>     >>> checking whether frexp() can be used without linking with<br>
>     libm... yes<br>
>     >>> checking whether stdin defaults to large file offsets... yes<br>
>     >>> checking whether fseeko is declared... yes<br>
>     >>> checking whether ftello is declared... yes<br>
>     >>> checking for getopt.h... (cached) yes<br>
>     >>> checking for getopt_long_only... yes<br>
>     >>> checking whether getopt is POSIX compatible... yes<br>
>     >>> checking for working GNU getopt function... yes<br>
>     >>> checking whether getenv is declared... yes<br>
>     >>> checking for C/C++ restrict keyword... __restrict<br>
>     >>> checking for struct timeval... yes<br>
>     >>> checking where to find the exponent in a 'float'... word 0 bit 23<br>
>     >>> checking whether byte ordering is bigendian... no<br>
>     >>> checking whether getc_unlocked is declared... yes<br>
>     >>> checking whether we are using the GNU C Library >= 2.1 or<br>
>     uClibc... yes<br>
>     >>> checking for multithread API to use... none<br>
>     >>> checking whether lstat correctly handles trailing slash... yes<br>
>     >>> checking whether malloc, realloc, calloc are POSIX compliant... yes<br>
>     >>> checking for stdlib.h... (cached) yes<br>
>     >>> checking for GNU libc compatible malloc... yes<br>
>     >>> checking for mbstate_t... yes<br>
>     >>> checking for a traditional japanese locale... none<br>
>     >>> checking for a transitional chinese locale... none<br>
>     >>> checking for a french Unicode locale... none<br>
>     >>> checking for mmap... yes<br>
>     >>> checking for MAP_ANONYMOUS... yes<br>
>     >>> checking whether memchr works... yes<br>
>     >>> checking for special C compiler options needed for large files... no<br>
>     >>> checking for _FILE_OFFSET_BITS value needed for large files... no<br>
>     >>> checking for promoted mode_t type... mode_t<br>
>     >>> checking whether posix_spawn works... yes<br>
>     >>> checking whether posix_spawnattr_setschedpolicy is supported... yes<br>
>     >>> checking whether posix_spawnattr_setschedparam is supported... yes<br>
>     >>> checking for uid_t in sys/types.h... yes<br>
>     >>> checking whether snprintf returns a byte count as in C99... yes<br>
>     >>> checking whether snprintf is declared... yes<br>
>     >>> checking for stdbool.h that conforms to C99... yes<br>
>     >>> checking for _Bool... yes<br>
>     >>> checking for wchar_t... yes<br>
>     >>> checking for working strerror function... yes<br>
>     >>> checking whether strndup is declared... yes<br>
>     >>> checking whether strnlen is declared... yes<br>
>     >>> checking whether strsignal is declared... yes<br>
>     >>> checking whether sys_siglist is declared... yes<br>
>     >>> checking whether strstr works... yes<br>
>     >>> checking whether strtod is declared... yes<br>
>     >>> checking whether ldexp() can be used without linking with<br>
>     libm... yes<br>
>     >>> checking whether stat file-mode macros are broken... no<br>
>     >>> checking for struct timespec in <time.h>... yes<br>
>     >>> checking whether clearerr_unlocked is declared... yes<br>
>     >>> checking whether feof_unlocked is declared... yes<br>
>     >>> checking whether ferror_unlocked is declared... yes<br>
>     >>> checking whether fflush_unlocked is declared... yes<br>
>     >>> checking whether fgets_unlocked is declared... yes<br>
>     >>> checking whether fputc_unlocked is declared... yes<br>
>     >>> checking whether fputs_unlocked is declared... yes<br>
>     >>> checking whether fread_unlocked is declared... yes<br>
>     >>> checking whether fwrite_unlocked is declared... yes<br>
>     >>> checking whether getchar_unlocked is declared... yes<br>
>     >>> checking whether putc_unlocked is declared... yes<br>
>     >>> checking whether putchar_unlocked is declared... yes<br>
>     >>> checking for wint_t... yes<br>
>     >>> checking for size_t... yes<br>
>     >>> checking for inttypes.h... yes<br>
>     >>> checking for stdint.h... yes<br>
>     >>> checking for intmax_t... yes<br>
>     >>> checking for snprintf... yes<br>
>     >>> checking for strnlen... yes<br>
>     >>> checking for wcslen... yes<br>
>     >>> checking for wcsnlen... yes<br>
>     >>> checking for mbrtowc... (cached) yes<br>
>     >>> checking for wcrtomb... (cached) yes<br>
>     >>> checking whether _snprintf is declared... no<br>
>     >>> checking whether printf supports size specifiers as in C99... yes<br>
>     >>> checking whether printf supports 'long double' arguments... yes<br>
>     >>> checking whether printf supports infinite 'double' arguments... yes<br>
>     >>> checking whether printf supports infinite 'long double'<br>
>     arguments... no<br>
>     >>> checking whether printf supports the 'a' and 'A' directives... yes<br>
>     >>> checking whether printf supports the 'F' directive... yes<br>
>     >>> checking whether printf supports the 'n' directive... no<br>
>     >>> checking whether printf supports the 'ls' directive... yes<br>
>     >>> checking whether printf supports POSIX/XSI format strings with<br>
>     >>> positions... yes<br>
>     >>> checking whether printf supports the grouping flag... yes<br>
>     >>> checking whether printf supports the left-adjust flag<br>
>     correctly... yes<br>
>     >>> checking whether printf supports the zero flag correctly... yes<br>
>     >>> checking whether printf supports large precisions... yes<br>
>     >>> checking whether printf survives out-of-memory conditions... yes<br>
>     >>> checking whether to use C++... no<br>
>     >>> checking whether ungetc works on arbitrary bytes... yes<br>
>     >>> checking for LC_MESSAGES... yes<br>
>     >>> checking for CFPreferencesCopyAppValue... no<br>
>     >>> checking for CFLocaleCopyCurrent... no<br>
>     >>> checking whether setenv is declared... yes<br>
>     >>> checking whether setenv validates arguments... yes<br>
>     >>> checking search.h usability... yes<br>
>     >>> checking search.h presence... yes<br>
>     >>> checking for search.h... yes<br>
>     >>> checking for tsearch... yes<br>
>     >>> checking whether strdup is declared... yes<br>
>     >>> checking whether alarm is declared... yes<br>
>     >>> checking whether unsetenv is declared... yes<br>
>     >>> checking for alloca as a compiler built-in... yes<br>
>     >>> checking whether to enable assertions... yes<br>
>     >>> checking whether btowc(0) is correct... yes<br>
>     >>> checking whether btowc(EOF) is correct... guessing yes<br>
>     >>> checking whether sigaltstack is declared... yes<br>
>     >>> checking for stack_t... yes<br>
>     >>> checking whether // is distinct from /... (cached) no<br>
>     >>> checking whether dup2 works... yes<br>
>     >>> checking for error_at_line... yes<br>
>     >>> checking whether fcntl handles F_DUPFD correctly... yes<br>
>     >>> checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime<br>
>     >>> check<br>
>     >>> checking whether fflush works on input streams... no<br>
>     >>> checking whether fopen recognizes a trailing slash... yes<br>
>     >>> checking whether __fpending is declared... yes<br>
>     >>> checking whether fpurge is declared... no<br>
>     >>> checking whether frexp works... yes<br>
>     >>> checking whether frexpl is declared... yes<br>
>     >>> checking whether frexpl() can be used without linking with<br>
>     libm... yes<br>
>     >>> checking whether frexpl works... yes<br>
>     >>> checking for ftello... yes<br>
>     >>> checking whether ftello works... yes<br>
>     >>> checking whether gettimeofday clobbers localtime buffer... no<br>
>     >>> checking for gettimeofday with POSIX signature... almost<br>
>     >>> checking whether the compiler generally respects inline... yes<br>
>     >>> checking whether isnan(double) can be used without linking with<br>
>     >>> libm... yes<br>
>     >>> checking whether isnan(float) can be used without linking with<br>
>     >>> libm... yes<br>
>     >>> checking whether isnan(float) works... yes<br>
>     >>> checking whether isnan(long double) can be used without linking with<br>
>     >>> libm... yes<br>
>     >>> checking whether isnanl works... no<br>
>     >>> checking where to find the exponent in a 'long double'... word 2<br>
>     bit 0<br>
>     >>> checking whether langinfo.h defines CODESET... yes<br>
>     >>> checking whether langinfo.h defines T_FMT_AMPM... yes<br>
>     >>> checking whether langinfo.h defines ERA... yes<br>
>     >>> checking whether langinfo.h defines YESEXPR... yes<br>
>     >>> checking for libsigsegv... (cached) no, consider installing GNU<br>
>     >>> libsigsegv<br>
>     >>> checking whether lseek detects pipes... yes<br>
>     >>> checking for stdlib.h... (cached) yes<br>
>     >>> checking for GNU libc compatible malloc... (cached) yes<br>
>     >>> checking whether NAN macro works... yes<br>
>     >>> checking whether HUGE_VAL works... yes<br>
>     >>> checking whether mbrtowc handles incomplete characters...<br>
>     guessing yes<br>
>     >>> checking whether mbrtowc works as well as mbtowc... guessing yes<br>
>     >>> checking whether mbrtowc handles a NULL pwc argument... guessing yes<br>
>     >>> checking whether mbrtowc handles a NULL string argument...<br>
>     guessing yes<br>
>     >>> checking whether mbrtowc has a correct return value... guessing yes<br>
>     >>> checking whether mbrtowc returns 0 when parsing a NUL character...<br>
>     >>> guessing yes<br>
>     >>> checking whether mbrtowc handles incomplete characters... (cached)<br>
>     >>> guessing yes<br>
>     >>> checking whether mbrtowc works as well as mbtowc... (cached)<br>
>     guessing<br>
>     >>> yes<br>
>     >>> checking for mkdtemp... yes<br>
>     >>> checking for working mkstemp... yes<br>
>     >>> checking whether YESEXPR works... yes<br>
>     >>> checking for obstacks... yes<br>
>     >>> checking whether open recognizes a trailing slash... yes<br>
>     >>> checking whether frexp works... (cached) yes<br>
>     >>> checking whether ldexp can be used without linking with libm...<br>
>     >>> (cached) yes<br>
>     >>> checking whether frexpl() can be used without linking with libm...<br>
>     >>> (cached) yes<br>
>     >>> checking whether frexpl works... (cached) yes<br>
>     >>> checking whether frexpl is declared... (cached) yes<br>
>     >>> checking whether ldexpl() can be used without linking with<br>
>     libm... yes<br>
>     >>> checking whether ldexpl works... yes<br>
>     >>> checking whether ldexpl is declared... yes<br>
>     >>> checking whether program_invocation_name is declared... yes<br>
>     >>> checking whether program_invocation_short_name is declared... yes<br>
>     >>> checking for rawmemchr... yes<br>
>     >>> checking whether readlink signature is correct... yes<br>
>     >>> checking whether readlink handles trailing slash correctly... yes<br>
>     >>> checking for working re_compile_pattern... yes<br>
>     >>> checking whether rename honors trailing slash on destination... yes<br>
>     >>> checking whether rename honors trailing slash on source... yes<br>
>     >>> checking whether rename manages hard links correctly... yes<br>
>     >>> checking whether rename manages existing destinations<br>
>     correctly... yes<br>
>     >>> checking whether rmdir works... yes<br>
>     >>> checking for struct sigaction.sa_sigaction... yes<br>
>     >>> checking for volatile sig_atomic_t... yes<br>
>     >>> checking for signbit macro... yes<br>
>     >>> checking for signbit compiler built-ins... yes<br>
>     >>> checking for sigprocmask... yes<br>
>     >>> checking for stdint.h... (cached) yes<br>
>     >>> checking for SIZE_MAX... yes<br>
>     >>> checking for snprintf... (cached) yes<br>
>     >>> checking whether snprintf respects a size of 1... yes<br>
>     >>> checking for posix_spawnattr_t... yes<br>
>     >>> checking for posix_spawn_file_actions_t... yes<br>
>     >>> checking for ssize_t... yes<br>
>     >>> checking whether stat handles trailing slashes on directories... yes<br>
>     >>> checking whether stat handles trailing slashes on files... yes<br>
>     >>> checking for va_copy... yes<br>
>     >>> checking whether NULL can be used in arbitrary expressions... yes<br>
>     >>> checking whether stdint.h conforms to C99... yes<br>
>     >>> checking for strchrnul... yes<br>
>     >>> checking for working strndup... yes<br>
>     >>> checking for working strnlen... yes<br>
>     >>> checking for strsignal... yes<br>
>     >>> checking whether strsignal always returns a string... yes<br>
>     >>> checking whether strstr works in linear time... no<br>
>     >>> checking whether strstr works... (cached) yes<br>
>     >>> checking whether strtod obeys C99... yes<br>
>     >>> checking for strtol... yes<br>
>     >>> checking for nlink_t... yes<br>
>     >>> checking for __secure_getenv... no<br>
>     >>> checking for ptrdiff_t... yes<br>
>     >>> checking for vasprintf... yes<br>
>     >>> checking for vasprintf... (cached) yes<br>
>     >>> checking for ptrdiff_t... (cached) yes<br>
>     >>> checking for waitid... yes<br>
>     >>> checking whether mbrtowc handles incomplete characters... (cached)<br>
>     >>> guessing yes<br>
>     >>> checking whether mbrtowc works as well as mbtowc... (cached)<br>
>     guessing<br>
>     >>> yes<br>
>     >>> checking whether wcrtomb return value is correct... guessing yes<br>
>     >>> checking whether iswcntrl works... yes<br>
>     >>> checking for wctype_t... yes<br>
>     >>> checking for wctrans_t... yes<br>
>     >>> checking for stdint.h... (cached) yes<br>
>     >>> checking for a traditional french locale... (cached) none<br>
>     >>> checking for a french Unicode locale... (cached) none<br>
>     >>> checking for a traditional french locale... (cached) none<br>
>     >>> checking for a turkish Unicode locale... none<br>
>     >>> checking for getpagesize... yes<br>
>     >>> checking whether getpagesize is declared... yes<br>
>     >>> checking where to find the exponent in a 'double'... word 1 bit 20<br>
>     >>> checking where to find the exponent in a 'float'... (cached) word 0<br>
>     >>> bit 23<br>
>     >>> checking where to find the exponent in a 'long double'...<br>
>     (cached) word<br>
>     >>> 2 bit 0<br>
>     >>> checking whether link handles trailing slash correctly... yes<br>
>     >>> checking whether locale.h conforms to POSIX:2001... yes<br>
>     >>> checking whether locale.h defines locale_t... yes<br>
>     >>> checking for setlocale... yes<br>
>     >>> checking for uselocale... yes<br>
>     >>> checking for a traditional french locale... (cached) none<br>
>     >>> checking for a french Unicode locale... (cached) none<br>
>     >>> checking for a traditional japanese locale... (cached) none<br>
>     >>> checking for a transitional chinese locale... (cached) none<br>
>     >>> checking for a french Unicode locale... (cached) none<br>
>     >>> checking for mmap... (cached) yes<br>
>     >>> checking for MAP_ANONYMOUS... yes<br>
>     >>> checking for mmap... (cached) yes<br>
>     >>> checking for MAP_ANONYMOUS... yes<br>
>     >>> checking for a traditional french locale... (cached) none<br>
>     >>> checking for a french Unicode locale... (cached) none<br>
>     >>> checking for putenv compatible with GNU and SVID... yes<br>
>     >>> checking for mmap... (cached) yes<br>
>     >>> checking for MAP_ANONYMOUS... yes<br>
>     >>> checking for a traditional french locale... (cached) none<br>
>     >>> checking for a french Unicode locale... (cached) none<br>
>     >>> checking for a traditional japanese locale... (cached) none<br>
>     >>> checking for a transitional chinese locale... (cached) none<br>
>     >>> checking for wchar_t... (cached) yes<br>
>     >>> checking for wint_t... (cached) yes<br>
>     >>> checking for mmap... (cached) yes<br>
>     >>> checking for MAP_ANONYMOUS... yes<br>
>     >>> checking for mmap... (cached) yes<br>
>     >>> checking for MAP_ANONYMOUS... yes<br>
>     >>> checking whether symlink handles trailing slash correctly... yes<br>
>     >>> checking for unsetenv... yes<br>
>     >>> checking for unsetenv() return type... int<br>
>     >>> checking whether unsetenv obeys POSIX... yes<br>
>     >>> checking for a traditional french locale... (cached) none<br>
>     >>> checking for a french Unicode locale... (cached) none<br>
>     >>> checking for a traditional japanese locale... (cached) none<br>
>     >>> checking for a transitional chinese locale... (cached) none<br>
>     >>> checking whether wctob works... guessing yes<br>
>     >>> checking whether wctob is declared... yes<br>
>     >>> checking whether an open file can be renamed... yes<br>
>     >>> checking if changeword is wanted... no<br>
>     >>> checking which shell to use for syscmd... /bin/sh<br>
>     >>> checking if malloc debugging is wanted... no<br>
>     >>> configure: creating ./config.status<br>
>     >>> config.status: creating Makefile<br>
>     >>> config.status: creating doc/Makefile<br>
>     >>> config.status: creating lib/Makefile<br>
>     >>> config.status: creating src/Makefile<br>
>     >>> config.status: creating tests/Makefile<br>
>     >>> config.status: creating checks/Makefile<br>
>     >>> config.status: creating examples/Makefile<br>
>     >>> config.status: creating lib/config.h<br>
>     >>> config.status: lib/config.h is unchanged<br>
>     >>> config.status: executing depfiles commands<br>
>     >>> config.status: executing stamp-h commands<br>
>     >>> make  all-recursive<br>
>     >>> make[1]: Entering directory `/home/swasti/Programs/rivet/m4-1.4.16'<br>
>     >>> Making all in .<br>
>     >>> make[2]: Entering directory `/home/swasti/Programs/rivet/m4-1.4.16'<br>
>     >>> make[2]: Nothing to be done for `all-am'.<br>
>     >>> make[2]: Leaving directory `/home/swasti/Programs/rivet/m4-1.4.16'<br>
>     >>> Making all in examples<br>
>     >>> make[2]: Entering directory<br>
>     >>> `/home/swasti/Programs/rivet/m4-1.4.16/examples'<br>
>     >>> make[2]: Nothing to be done for `all'.<br>
>     >>> make[2]: Leaving directory<br>
>     >>> `/home/swasti/Programs/rivet/m4-1.4.16/examples'<br>
>     >>> Making all in lib<br>
>     >>> make[2]: Entering directory<br>
>     `/home/swasti/Programs/rivet/m4-1.4.16/lib'<br>
>     >>> rm -f configmake.h-t && \<br>
>     >>> { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \<br>
>     >>>    echo '#define PREFIX "/home/swasti/Programs/rivet/local"'; \<br>
>     >>>    echo '#define EXEC_PREFIX "/home/swasti/Programs/rivet/local"'; \<br>
>     >>>    echo '#define BINDIR "/home/swasti/Programs/rivet/local/bin"'; \<br>
>     >>>    echo '#define SBINDIR<br>
>     "/home/swasti/Programs/rivet/local/sbin"'; \<br>
>     >>>    echo '#define LIBEXECDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/libexec"'; \<br>
>     >>>    echo '#define DATAROOTDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share"'; \<br>
>     >>>    echo '#define DATADIR<br>
>     "/home/swasti/Programs/rivet/local/share"'; \<br>
>     >>>    echo '#define SYSCONFDIR<br>
>     "/home/swasti/Programs/rivet/local/etc"'; \<br>
>     >>>    echo '#define SHAREDSTATEDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/com"'; \<br>
>     >>>    echo '#define LOCALSTATEDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/var"'; \<br>
>     >>>    echo '#define INCLUDEDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/include"'; \<br>
>     >>>    echo '#define OLDINCLUDEDIR "/usr/include"'; \<br>
>     >>>    echo '#define DOCDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/doc/m4"'; \<br>
>     >>>    echo '#define INFODIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/info"'; \<br>
>     >>>    echo '#define HTMLDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/doc/m4"'; \<br>
>     >>>    echo '#define DVIDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/doc/m4"'; \<br>
>     >>>    echo '#define PDFDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/doc/m4"'; \<br>
>     >>>    echo '#define PSDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/doc/m4"'; \<br>
>     >>>    echo '#define LIBDIR "/home/swasti/Programs/rivet/local/lib"'; \<br>
>     >>>    echo '#define LISPDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/emacs/site-lisp"'; \<br>
>     >>>    echo '#define LOCALEDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/locale"'; \<br>
>     >>>    echo '#define MANDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/man"'; \<br>
>     >>>    echo '#define MANEXT ""'; \<br>
>     >>>    echo '#define PKGDATADIR<br>
>     >>> "/home/swasti/Programs/rivet/local/share/m4"'; \<br>
>     >>>    echo '#define PKGINCLUDEDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/include/m4"'; \<br>
>     >>>    echo '#define PKGLIBDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/lib/m4"'; \<br>
>     >>>    echo '#define PKGLIBEXECDIR<br>
>     >>> "/home/swasti/Programs/rivet/local/libexec/m4"'; \<br>
>     >>> } | sed '/""/d' > configmake.h-t && \<br>
>     >>> if test -f configmake.h && cmp configmake.h-t configmake.h ><br>
>     /dev/null;<br>
>     >>> then \<br>
>     >>>    rm -f configmake.h-t; \<br>
>     >>> else \<br>
>     >>>    rm -f configmake.h; mv configmake.h-t configmake.h; \<br>
>     >>> fi<br>
>     >>> make  all-am<br>
>     >>> make[3]: Entering directory<br>
>     `/home/swasti/Programs/rivet/m4-1.4.16/lib'<br>
>     >>> gcc -std=gnu99  -I.     -g -O2 -MT clean-temp.o -MD -MP -MF<br>
>     >>> .deps/clean-temp.Tpo -c -o clean-temp.o clean-temp.c<br>
>     >>> gcc -std=gnu99  -I.     -g -O2 -MT freadahead.o -MD -MP -MF<br>
>     >>> .deps/freadahead.Tpo -c -o freadahead.o freadahead.c<br>
>     >>> gcc -std=gnu99  -I.     -g -O2 -MT freading.o -MD -MP -MF<br>
>     >>> .deps/freading.Tpo -c -o freading.o freading.c<br>
>     >>> In file included from freading.h:18:0,<br>
>     >>>                   from freading.c:20:<br>
>     >>> ./stdio.h:477:1: error: 'gets' undeclared here (not in a function)<br>
>     >>>   _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets<br>
>     instead");<br>
>     >>>   ^<br>
>     >>> In file included from freadahead.h:18:0,<br>
>     >>>                   from freadahead.c:20:<br>
>     >>> ./stdio.h:477:1: error: 'gets' undeclared here (not in a function)<br>
>     >>>   _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets<br>
>     instead");<br>
>     >>>   ^<br>
>     >>> In file included from clean-temp.h:22:0,<br>
>     >>>                   from clean-temp.c:23:<br>
>     >>> ./stdio.h:477:1: error: 'gets' undeclared here (not in a function)<br>
>     >>>   _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets<br>
>     instead");<br>
>     >>>   ^<br>
>     >>> make[3]: *** [freading.o] Error 1<br>
>     >>> make[3]: *** Waiting for unfinished jobs....<br>
>     >>> make[3]: *** [freadahead.o] Error 1<br>
>     >>> make[3]: *** [clean-temp.o] Error 1<br>
>     >>> make[3]: Leaving directory<br>
>     `/home/swasti/Programs/rivet/m4-1.4.16/lib'<br>
>     >>> make[2]: *** [all] Error 2<br>
>     >>> make[2]: Leaving directory<br>
>     `/home/swasti/Programs/rivet/m4-1.4.16/lib'<br>
>     >>> make[1]: *** [all-recursive] Error 1<br>
>     >>> make[1]: Leaving directory `/home/swasti/Programs/rivet/m4-1.4.16'<br>
>     >>> make: *** [all] Error 2<br>
>     >>> }<br>
>     >>><br>
>     >>><br>
>     >>> Then, I referred to the PDF manual (<a href="http://arxiv.org/abs/1003.0694" target="_blank">http://arxiv.org/abs/1003.0694</a>)<br>
>     >>> which I found simpler. After downloading the script, I get following<br>
>     >>> error during installation of needed dependencies:<br>
>     >>><br>
>     >>> {<br>
>     >>> $ ./rivet-bootstrap --install-agile --install-boost --install-cython<br>
>     >>> --prefix=/home/swasti/Programs/rivetlocal/<br>
>     >>> Getting <a href="http://www.hepforge.org/archive/rivet/Rivet-1.8.3.tar.gz" target="_blank">http://www.hepforge.org/archive/rivet/Rivet-1.8.3.tar.gz</a><br>
>     >>> Not overwriting tarball at<br>
>     >>> /home/swasti/Programs/rivetlocal/build/downloads/Rivet-1.8.3.tar.gz<br>
>     >>> Getting <a href="http://www.hepforge.org/archive/agile/AGILe-1.4.0.tar.gz" target="_blank">http://www.hepforge.org/archive/agile/AGILe-1.4.0.tar.gz</a><br>
>     >>> Not overwriting tarball at<br>
>     >>> /home/swasti/Programs/rivetlocal/build/downloads/AGILe-1.4.0.tar.gz<br>
>     >>> Installing a local copy of Boost<br>
>     >>> Downloading<br>
>     >>><br>
>     <a href="http://downloads.sourceforge.net/boost/boost_1_50_0.tar.gz?use_mirror=mesh" target="_blank">http://downloads.sourceforge.net/boost/boost_1_50_0.tar.gz?use_mirror=mesh</a><br>
>     >>><br>
>     >>><br>
>     >>> Downloading <a href="http://www.cython.org/release/Cython-0.17.2.tar.gz" target="_blank">http://www.cython.org/release/Cython-0.17.2.tar.gz</a><br>
>     >>> Traceback (most recent call last):<br>
>     >>>    File "./rivet-bootstrap", line 493, in <module><br>
>     >>>      os.environ['PYTHONPATH'] = CYTHONPATH + ":" +<br>
>     >>> os.environ['PYTHONPATH']<br>
>     >>>    File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__<br>
>     >>>      raise KeyError(key)<br>
>     >>> KeyError: 'PYTHONPATH'<br>
>     >>><br>
>     >>><br>
>     >>><br>
>     >>> An error has occurred while bootstrapping Rivet or one of its<br>
>     >>> dependencies. Sorry!<br>
>     >>> Please contact the Rivet developers at<br>
>     <a href="mailto:rivet@projects.hepforge.org">rivet@projects.hepforge.org</a> <mailto:<a href="mailto:rivet@projects.hepforge.org">rivet@projects.hepforge.org</a>><br>
</div></div>>     >>> <mailto:<a href="mailto:rivet@projects.hepforge.org">rivet@projects.hepforge.org</a><br>
<div class="im">>     <mailto:<a href="mailto:rivet@projects.hepforge.org">rivet@projects.hepforge.org</a>>>, with a description of your<br>
>     >>> problem, a copy of this script and any error trace that may have<br>
>     >>> appeared and we'll try to get it fixed as soon as possible.<br>
>     Thanks for<br>
>     >>> your help!<br>
>     >>> }<br>
>     >>><br>
>     >>> Please help in this regard.<br>
>     >>><br>
>     >>> Thanking you and obliged,<br>
>     >>> Swasti Belwal.<br>
>     >>><br>
>     >>> - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>
>     >>> Bethe Center for Theoretical Physics,<br>
>     >>> Physikalisches Institut der Universität Bonn,<br>
>     >>> Nussallee 12,<br>
>     >>> 53115 Bonn,<br>
>     >>> Germany.<br>
>     >>><br>
>     >>><br>
>     >>> --<br>
>     >>> With warm regards,<br>
>     >>> Swasti Belwal.<br>
>     >>><br>
>     >>><br>
>     >>> _______________________________________________<br>
>     >>> Rivet mailing list<br>
</div>>     >>> <a href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a> <mailto:<a href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a>><br>
>     >>> <a href="http://www.hepforge.org/lists/listinfo/rivet" target="_blank">http://www.hepforge.org/lists/listinfo/rivet</a><br>
>     >>><br>
>     >><br>
>     ><br>
>     > Dear Andy,<br>
>     ><br>
>     > Thank you very much for your quick reply.<br>
>     ><br>
>     > So I now started fresh with the latest bootstrap script on the<br>
>     website.<br>
>     > I commented bits of it using the command you gave:<br>
>     ><br>
>     > $ INSTALL_AUTOTOOLS=0 INSTALL_BOOST=0 INSTALL_GSL=0 INSTALL_YAMLCPP=0<br>
>     > ./rivet-2-bootstrap<br>
>     ><br>
>     > but now it shows error with the yaml-cpp library as:<br>
>     ><br>
>     > "configure: WARNING: yaml-cpp library was not found<br>
>     > configure: Found yaml-cpp header directory at /usr/include<br>
>     > configure: error: yaml-cpp is required."<br>
>     ><br>
>     > I have already installed yaml-cpp package<br>
>     > (<a href="http://code.google.com/p/yaml-cpp/downloads/list" target="_blank">http://code.google.com/p/yaml-cpp/downloads/list</a>) as a root, but I<br>
>     > think I am missing something here. I tried setting it's environment in<br>
>     > .bashrc file, but still it doesn't help (am also not sure if it's the<br>
>     > right thing to do in this case, and if yes, can you please tell me the<br>
>     > right path I should set for yaml-cpp library).<br>
>     ><br>
>     > Kindly please help me in this and obliged.<br>
>     ><br>
>     > Regards,<br>
>     > Swasti.<br>
>     ><br>
>     > P.S. I got the old rivet-bootstrap from the Rivet User Manual<br>
>     > (<a href="http://arxiv.org/abs/1003.0694" target="_blank">http://arxiv.org/abs/1003.0694</a>). The link is in the homepage of Rivet<br>
>     > also, so it seems it's not updated. Before mailing you I had already<br>
>     > installed Cython and Boost :) , but yaml-cpp had been a problem.<br>
<div class="im HOEnZb">>     ><br>
>     ><br>
><br>
><br>
>     --<br>
>     Dr Andy Buckley, Royal Society University Research Fellow<br>
>     Particle Physics Expt Group, University of Glasgow / PH Dept, CERN<br>
><br>
><br>
><br>
><br>
</div><div class="im HOEnZb">> --<br>
> With warm regards,<br>
> Swasti Belwal.<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">--<br>
Dr Andy Buckley, Royal Society University Research Fellow<br>
Particle Physics Expt Group, University of Glasgow / PH Dept, CERN<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><i>With regards</i>,<div><i>Swasti.</i></div>
</div>