|
|
|
Re: problem installing external package jan12 [message #13680 is a reply to message #13677] |
Thu, 28 June 2012 15:57 |
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
|
|
|