GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » problem installing external package jan12
icon8.gif  problem installing external package jan12 [message #13677] Thu, 28 June 2012 09:05 Go to next message
Rama Prasad Adak is currently offline  Rama Prasad Adak
Messages: 5
Registered: June 2012
Location: Saltlake, kolkata,westben...
occasional visitor
From: 202.141.148*
Now I am trying to configure the external package jan12, but it ends with errors as following :


*** Compiling gsl ................
*** Unpacking gsl-1.15.tar.gz ..............
*** gsl compiled successfully ***
*** Compiling Boost ................
*** Unpacking boost_1_48_0.tar.bz2 ..............
*** Boost compiled successfully ***
*** Compiling ApMon ................
*** Unpacking ApMon_cpp-2.2.7.tar.gz ..............
*** ApMon compiled successfully ***
*** Compiling ml-gsoapclient ................
*** Unpacking ml-gsoapclient-2.7.10.tar.gz ..............
*** ml-gsoapclient compiled successfully ***
*** Compiling Pythia6 ................
*** Unpacking pythia6.tar.gz ..............
*** Patching the Pythia6 Makefile to compile with gfortran
*** Pythia6 compiled successfully ***
*** Compiling pythia8 ................
*** Unpacking pythia8130.tgz ..............
*** pythia8 compiled successfully ***
*** Compiling Clhep ................
*** Unpacking clhep-2.1.1.0.tgz ..............
*** ERROR: Clhep could not be created.
*** End installation of external packages with Errors***

how to install successfully?
  • Attachment: error_jan12
    (Size: 16.63KB, Downloaded 271 times)
Re: problem installing external package jan12 [message #13678 is a reply to message #13677] Thu, 28 June 2012 09:20 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi,

this information do not help. It is only telling that there was an error. Normally you get tons of output on the screen. Please look there what was the error and post this. Otherwise there is no way to help.

Ciao

Florian
icon9.gif  Re: problem installing external package jan12 [message #13679 is a reply to message #13678] Thu, 28 June 2012 14:58 Go to previous messageGo to next message
Rama Prasad Adak is currently offline  Rama Prasad Adak
Messages: 5
Registered: June 2012
Location: Saltlake, kolkata,westben...
occasional visitor
From: 202.141.148*
Now during configuration Geant3 is not created. The error messages are :

*** Compiling Geant3 ................
patching file Makefile
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Makefile.rej
/collaborators/bose/ramaprasad/fairsoft/tools/root/bin:/collaborators/bo se/ramaprasad/fairsoft/basics/cmake/bin:/collaborators/bose/ramaprasad/f airsoft/basics/cmake/bin:/pool01/ALISOFT/AliRoot/v4-21-25-AN/bin/tgt_lin uxx8664gcc:/pool01/ALISOFT/root/v5-28-00d/bin:/collaborators/bose/bin:/c ollaborators/bose/scripts:/usr/sue/bin:/usr/local/bin:/usr/local/bin/X11 :/usr/bin:/bin:/usr/bin/X11:/cern/pro/bin:/usr/lib64/qt-3.3/bin:/usr/ker beros/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/collaborators/bose/bin:/pool01 /ALISOFT/alien/bin:/pool01/ALISOFT/alien/api/bin:/pool01/ALISOFT/alien/g lobus/bin:/collaborators/bose/bin:
/collaborators/bose/ramaprasad/fairsoft/tools/root
gphys/gdalet.F
gphys/gdalitzcbm.F
gphys/gdecay.F
Generating /collaborators/bose/ramaprasad/fairsoft/transport/geant3/lib/tgt_linux/l ibgeant321.so
/usr/bin/ld: added/loadmod.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
added/loadmod.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [/collaborators/bose/ramaprasad/fairsoft/transport/geant3/lib/tgt_linux/ libgeant321.so] Error 1
cp: cannot stat `/collaborators/bose/ramaprasad/fairsoft/transport/geant3/lib/tgt_linuxx 8664gcc/libgeant321.so': No such file or directory
**** Checking libraries in /collaborators/bose/ramaprasad/fairsoft/transport/geant3/lib ****
*** ERROR: Geant3 could not be created.
*** End installation of external packages with Errors***


I can't find the way to solve. Any suggestion, please.
  • Attachment: geant3 error
    (Size: 5.06KB, Downloaded 231 times)
Re: problem installing external package jan12 [message #13680 is a reply to message #13677] Thu, 28 June 2012 15:57 Go to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi,

first of all I would propose to start the compilation within a clean environment, so get ride off all ALIROOT stuff in PATH and LD_LIBRARY_PATH before you start with FairRoot. If you go on like that you will have many different versions of Root and Geant3 in your PATH. Depending on your luck you will use one or the other which will
have funny effects.

For example the Makefile of Geant3 depends on the Root installation, so I am not sure if you use Root from FairRoot or any of your other installations. If this is the problem I
don't know. Maybe the following webpage helps to solve the problem.

http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&cha p=3

To use -fPIC for the compilation of Geant3 you can edit the scripts/install_geant3.sh bash script and change the following line from


make

to

FCFLAGS="$FCFLAGS -fPIC" CXXFLAGS="$CXXFLAGS -fPIC" make

Maybe this helps to cure the problem.

Ciao

Florian
Previous Topic: problem installing cbmroot external package may11
Next Topic: Jan12 on 12.04 i686
Goto Forum:
  


Current Time: Tue Nov 26 14:53:41 CET 2024

Total time taken to generate the page: 0.00694 seconds