[Gate-users] Installation problem again (cannot find -lXi)

Didier Benoit benoit at imnc.in2p3.fr
Thu Jul 7 12:34:56 CEST 2011


Hi Jasper,

You have to just install the xi library from the ubuntu package
'sudo apt-get install libxi'

Kind regards,
Didier

On Jul 7, 2011, at 11:33 AM, Jasper C wrote:

> Hi all,
> 
> I'm currently trying to install GATE again on a new desktop here at
> work (I'd previously been able to get it running on a laptop).
> 
> I'm getting an error after running 'make'.  The last lines of output are:
> 
> --------------------------------------------------
> 
> Compiling GateVPulseProcessor.cc ...
> Compiling GateVSource.cc ...
> Compiling GateVSourceMessenger.cc ...
> Compiling GateVSourceVoxelReader.cc ...
> Compiling GateVSourceVoxelReaderMessenger.cc ...
> Compiling GateVSourceVoxelTranslator.cc ...
> source/physics finished
> Creating shared library tmp/Linux-g++/Gate/libGate.so ...
> /usr/bin/ld: cannot find -lXi
> collect2: ld returned 1 exit status
> make: *** [tmp/Linux-g++/Gate/libGate.so] Error 1
> 
> --------------------------------------------------
> 
> I have run 'source env_gate.sh' before running 'make', and have added
> the following lines to set my environment variables:
> 
> --------------------------------------------------
> export GATEHOME=/home/jasper/gate/gate_6.0_p01
> export G4INSTALL=/home/jasper/gate/geant4_9.2.p04
> export G4VERSION=9.2
> export ROOTSYS=/home/jasper/gate/root_5.28.00e
> 
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib:/home/jasper/gate/clhep_2.0.4.2/lib
> export PATH=$PATH:$ROOTSYS/lib:$GATEHOME/bin/$G4SYSTEM
> --------------------------------------------------
> 
> and my system setup is:
> 
> Ubuntu 11.04
> GATE v6.0.1
> Clhep v2.0.4.2
> Geant4 v9.2p0
> Root v5.28.00e
> 
> I am able to run root with no issues if that helps.
> 
> Advice greatly appreciated,
> 
> Jasper
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

-------------------------------------------------------------------------------------------
Didier BENOIT, GATE Engineer
Imagerie et Modélisation en Neurobiologie et Cancérologie (IMNC)
IMNC – UMR 8165 CNRS – Université Paris 7 – Université Paris 11
Campus d’Orsay
Bâtiment 440
91406 ORSAY Cedex

Tél : (33) 1 69 15 68 76
E-mail : benoit at imnc.in2p3.fr
http://www.imnc.in2p3.fr
-------------------------------------------------------------------------------------------



More information about the Gate-users mailing list