GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » problem installing external package jan12
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
 
Read Message icon8.gif
Read Message
Read Message icon9.gif
Read Message
Previous Topic: problem installing cbmroot external package may11
Next Topic: Jan12 on 12.04 i686
Goto Forum:
  


Current Time: Thu Mar 28 15:27:05 CET 2024

Total time taken to generate the page: 0.00743 seconds