|
[Rivet] Yaml error in newest RivetChristian Roehr roehr at particle.uni-karlsruhe.deTue Oct 19 14:22:04 BST 2010
Hi, While compiling Rivet 1.3.0, I get an error message connected to YAML which I cannot get rid of: (...) make[1]: Entering directory `/home/roehr/sources/Rivet/1.3.0/bin' /bin/sh ../libtool --tag=CXX --mode=link /usr/bin/g++ -pedantic -ansi -Wall -Wno-long-long -O2 -o rivet-nopy rivet_nopy-rivet-nopy.o ../src/libRivet.la libtool: link: /usr/bin/g++ -pedantic -ansi -Wall -Wno-long-long -O2 -o .libs/rivet-nopy rivet_nopy-rivet-nopy.o ../src/.libs/libRivet.so -Wl,-rpath -Wl,/itp/scratch/roehr/mc/Rivet/1.3.0/lib ../src/.libs/libRivet.so: undefined reference to `YAML::Node::FindAtIndex(unsigned long) const' ../src/.libs/libRivet.so: undefined reference to `YAML::Convert(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool&)' (...) The configure script could not find yaml-cpp on my system (cf. the output of configure attached to this mail) and stated that Rivet will build this library itself. Indeed, that bit seems to be working, "make" in tools/yaml-cpp seems to run through properly. I would appreciate if someone of you has any suggestions. Cheers, Christian -------------- next part -------------- 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... gawk checking whether make sets $(MAKE)... yes checking for sw_vers... no configure: Calculating LCG platform tag from system properties checking for OS type... Linux checking for architecture type... x86_64 checking for g++... /usr/bin/g++ checking for gcc/g++ version... gccLinux)Linux) configure: LCG platform tag is 'x86_64-Linux-gccLinux)Linux)-opt' 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 /usr/bin/g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of /usr/bin/g++... gcc3 checking whether ln -s works... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc 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 dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether /usr/bin/g++ accepts -g... (cached) yes checking dependency style of /usr/bin/g++... (cached) gcc3 checking how to run the C++ preprocessor... /usr/bin/g++ -E checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by /usr/bin/g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the /usr/bin/g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes checking for /usr/bin/g++ option to produce PIC... -fPIC -DPIC checking if /usr/bin/g++ PIC flag -fPIC -DPIC works... yes checking if /usr/bin/g++ static flag -static works... yes checking if /usr/bin/g++ supports -c -o file.o... yes checking if /usr/bin/g++ supports -c -o file.o... (cached) yes checking whether the /usr/bin/g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gsl-config... /usr/bin/gsl-config configure: Using /usr/bin/gsl-config to find GSL flags configure: GSL libs path is /usr/lib configure: GSL include path is /usr/include configure: GSL CPPFLAGS is -I/usr/include configure: GSL CXXFLAGS is -I/usr/include configure: GSL LDFLAGS is -L/usr/lib64 -lgsl -lgslcblas -lm configure: Found Boost header directory at /usr/include checking boost/foreach.hpp usability... yes checking boost/foreach.hpp presence... yes checking for boost/foreach.hpp... yes checking boost/smart_ptr.hpp usability... yes checking boost/smart_ptr.hpp presence... yes checking for boost/smart_ptr.hpp... yes checking boost/lexical_cast.hpp usability... yes checking boost/lexical_cast.hpp presence... yes checking for boost/lexical_cast.hpp... yes checking boost/assign.hpp usability... yes checking boost/assign.hpp presence... yes checking for boost/assign.hpp... yes checking boost/random.hpp usability... yes checking boost/random.hpp presence... yes checking for boost/random.hpp... yes checking for uname... /bin/uname configure: Found HepMC library at /opt/HepMC/2.04.02/lib/libHepMC.la configure: Found HepMC header directory at /opt/HepMC/2.04.02/include configure: HepMC version is 2.04.02 -> 24 configure: Found fastjet library at /itp/scratch/roehr/mc/FastJet/2.4.2/lib/libfastjet.la configure: Found fastjet header directory at /itp/scratch/roehr/mc/FastJet/2.4.2/include checking for fastjet-config... /itp/scratch/roehr/mc/FastJet/2.4.2/bin/fastjet-config checking FastJet version using fastjet-config... 2.4.2 configure: FastJet LIBADD = -Wl,-rpath,/itp/scratch/roehr/mc/FastJet/2.4.2/lib -lm -L/itp/scratch/roehr/mc/FastJet/2.4.2/lib -lfastjet -lSISConePlugin -lsiscone -lsiscone_spherical -lCDFConesPlugin -lD0RunIIConePlugin -lNestedDefsPlugin -lTrackJetPlugin -lATLASConePlugin -lCMSIterativeConePlugin -lEECambridgePlugin -lJadePlugin checking fastjet/D0RunIIConePlugin.hh usability... yes checking fastjet/D0RunIIConePlugin.hh presence... yes checking for fastjet/D0RunIIConePlugin.hh... yes checking fastjet/TrackJetPlugin.hh usability... yes checking fastjet/TrackJetPlugin.hh presence... yes checking for fastjet/TrackJetPlugin.hh... yes checking for doxygen... no configure: Not building unvalidated Rivet analyses checking for pdflatex... /usr/bin/pdflatex checking for asciidoc... no configure: WARNING: yaml-cpp library was not found configure: WARNING: yaml-cpp header directory was not found configure: Rivet will install the yaml-cpp library checking for python... /usr/bin/python checking whether /usr/bin/python version >= 2.4... yes checking for Python include path... /usr/include/python2.6 checking for swig... /usr/bin/swig checking if /usr/bin/swig can make a Python function wrapper... yes checking if the /usr/bin/g++ compiler accepts the -Wno-format flag... yes configure: adding -Wno-format to swig compilation test checking if /usr/bin/swig is compatible with the /usr/bin/g++ compiler... yes configure: All Python build checks successful: 'rivet' Python extension will be built checking if the /usr/bin/g++ compiler accepts the -pedantic flag... yes checking if the /usr/bin/g++ compiler accepts the -ansi flag... yes checking if the /usr/bin/g++ compiler accepts the -Wall flag... yes checking if the /usr/bin/g++ compiler accepts the -Wno-long-long flag... yes configure: creating ./config.status config.status: creating include/Makefile config.status: creating include/Rivet/Makefile config.status: creating src/Makefile config.status: creating src/Core/Makefile config.status: creating src/Tools/Makefile config.status: creating src/Tools/yaml-cpp/Makefile config.status: creating src/Projections/Makefile config.status: creating src/Analyses/Makefile config.status: creating test/Makefile config.status: creating pyext/Makefile config.status: creating pyext/rivet/Makefile config.status: creating pyext/setup.py config.status: creating data/Makefile config.status: creating data/refdata/Makefile config.status: creating data/anainfo/Makefile config.status: creating data/plotinfo/Makefile config.status: creating data/texmf/Makefile config.status: creating doc/Makefile config.status: creating doc/rivetversion.sty config.status: creating autopackage/default.apspec config.status: creating autopackage/data.apspec config.status: creating bin/Makefile config.status: creating bin/rivet-config config.status: creating Makefile config.status: creating Doxyfile config.status: creating rivetenv.sh config.status: creating rivetenv.csh config.status: creating include/Rivet/Config/DummyConfig.hh config.status: include/Rivet/Config/DummyConfig.hh is unchanged config.status: creating include/Rivet/Config/RivetConfig.hh config.status: include/Rivet/Config/RivetConfig.hh is unchanged config.status: creating include/Rivet/Config/BuildOptions.hh config.status: include/Rivet/Config/BuildOptions.hh is unchanged config.status: executing depfiles commands config.status: executing libtool commands
More information about the Rivet mailing list |