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