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

Jasper C jaspercwork at gmail.com
Thu Jul 7 11:33:11 CEST 2011


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


More information about the Gate-users mailing list