|
[Rivet] Problem with rivet-bootstrapBen Waugh b.waugh at ucl.ac.ukMon Oct 24 12:48:48 BST 2011
Hi All, I've just installed Rivet 1.6.0 on my laptop (Fedora 13) using the bootstrap script, but I needed a little hack to get it to work, and I suspect this is something that you build experts could fix more permanently. The bootstrap terminates with this error: make[1]: Entering directory `/tmp/waugh/rivet/build/Rivet-1.6.0/bin' CXX rivet_nopy-rivet-nopy.o CXXLD rivet-nopy /usr/bin/ld: rivet_nopy-rivet-nopy.o: undefined reference to symbol 'HepMC::IO_GenEvent::IO_GenEvent(std::basic_istream<char, std::char_traits<char> >&)' /usr/bin/ld: note: 'HepMC::IO_GenEvent::IO_GenEvent(std::basic_istream<char, std::char_traits<char> >&)' is defined in DSO /home/waugh/local/rivet/lib/libHepMC.so.4 so try adding it to the linker command line /home/waugh/local/rivet/lib/libHepMC.so.4: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[1]: *** [rivet-nopy] Error 1 make[1]: Leaving directory `/tmp/waugh/rivet/build/Rivet-1.6.0/bin' make: *** [all-recursive] Error 1 This seems to be because the linker line does indeed not contain the relevant library. I worked around this by editing /tmp/waugh/rivet/build/Rivet-1.6.0/bin/Makefile, changing this line LIBS = to LIBS = ${HEPMCLDLIBS} then running "make" in this directory and then rerunning the bootstrap script. Cheers, Ben -- Dr Ben Waugh Tel. +44 (0)20 7679 7223 Dept of Physics and Astronomy Internal: 37223 University College London London WC1E 6BT
More information about the Rivet mailing list |