|
[Rivet] AGILeAndy Buckley andy.buckley at ed.ac.ukMon Jun 7 16:42:06 BST 2010
On 07/06/10 16:17, Sparsh Navin wrote: > I edited the paths file (attached). There is one library path which > doesn't have and equivalent slc5 > > /afs/cern.ch/sw/lcg/external/GSL/1.8/slc4_amd64_gcc34/lib > > The available ones are > > bash-3.00$ ls /afs/cern.ch/sw/lcg/external/GSL/1.8/ > cel3-i386_gcc323/ slc3_gcc323/ slc4_amd64_gcc41/ > install.sh slc3_ia32_gcc323/ slc4_ia32_gcc34/ > logs/ slc3_ia32_gcc323_dbg/ slc4_ia32_gcc345.old/ > osx104_ia32_gcc401/ slc3_ia32_gcc344/ slc4_ia32_gcc41/ > osx104_ppc_gcc401/ slc3_ia32_gcc344_dbg/ win32_vc71/ > slc3_amd64_gcc344/ slc4_amd64_gcc34/ > slc3_amd64_gcc344_dbg/ slc4_amd64_gcc345.old/ > > Do I need this? If so, which path should I include? I think that GSL 1.10 is available for SLC5 platforms. > I removed this for now and end up with > > [pcalicebhm09] /home/snavin/my_work/rivet_test > source paths > [pcalicebhm09] /home/snavin/my_work/rivet_test > ./rivet-bootstrap > --no-install-rivet --install-agile --dev-mode on > Checking for developer mode programs > Updating AGILe SVN working copy > LCG area available: using LCG-built packages > Using LCG platform tag = x86_64-slc5-gcc43-opt > Boost's headers are not installed properly in > /afs/cern.ch/sw/lcg/external/Boost/1.42.0_python2.5/x86_64-slc5-gcc43-opt > Configuring in /home/snavin/my_work/rivet_test/build/agile: ./configure > --prefix=/home/snavin/my_work/rivet_test/local > --with-lcgtag=x86_64-slc5-gcc43-opt > --with-hepmc=/afs/cern.ch/sw/lcg/external/HepMC/2.05.00/x86_64-slc5-gcc43-opt > --with-boost=/afs/cern.ch/sw/lcg/external/Boost/1.42.0_python2.5/x86_64-slc5-gcc43-opt > --with-boost-incpath=/afs/cern.ch/sw/lcg/external/Boost/1.42.0_python2.5/x86_64-slc5-gcc43-opt/include/boost-1_42 > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for sw_vers... no > configure: LCG platform tag is 'x86_64-slc5-gcc43-opt' > checking for g++... g++ > checking for C++ compiler default output file name... configure: error: > C++ compiler cannot create executables > See `config.log' for more details. > > The config.log (attached) still shows the same error > > x86_64-unknown-linux-gnu/4.3.2/cc1plus: error while loading shared > libraries: libmpfr.so.1: wrong ELF class: ELFCLASS32 > configure:2519: $? = 1 > configure: failed program was: > | /* confdefs.h. */ Can you try doing this in place of (or after) all those explicit path settings: export PATH=/afs/cern.ch/sw/lcg/external/swig/1.3.40/x86_64-slc5-gcc43-opt/bin/swig:$PATH source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5-gcc43-opt/setup.sh This is all that I do on a fresh SLC5 machine before running rivet-bootstrap and it works fine. I suspect that the gcc 4.3 setup script is setting the same sort of paths as you are doing by hand, but it gets them self-consistent... I'm not sure what the mistake is in your paths, but it looks like somehow 32 bit libraries are being tried for linking on a 64 bit system. Andy -- Dr Andy Buckley SUPA Advanced Research Fellow Particle Physics Experiment Group, University of Edinburgh The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the Rivet mailing list |