[Gate-users] missing libGate.so
Hermann Fuchs
hermann.fuchs at meduniwien.ac.at
Tue Apr 10 08:34:35 CEST 2012
Hi
Your problem is related to the gnu makefiles.
A solution is described at
http://wiki.opengatecollaboration.org/index.php/ERRATA_in_GATEv6.1_sources
Best regards,
Hermann
On Sun, 2012-04-08 at 08:19 +0800, 刘斌信件 wrote:
> <<<hi friends
> <<< I try to compile the GATE ,but failed the geant4 is 9.4.p03, root is 5_32 ,gate version is 6.1 ,the system is ubuntu11.10. I saw you encounted the similar question on the website of GATE , can you give a guideline or help ? The following are outputs:
>
> root at liubin-HP-ProBook-4416s:/home/liubin/simulation/gate6# make
> Entering source/arf ...
> GNUmakefile:27: GateCommon.gmk: NO such an file or directory.
> make[1]: *** no rules creat the target “GateCommon.gmk”。stop。
> source/arf finished
> Entering source/geometry ...
> GNUmakefile:27: GateCommon.gmk:NO such an file or directory
> make[1]: *** no rules creat the target “GateCommon.gmk”。 stop。
> source/geometry finished
> Entering source/general ...
> GNUmakefile:25: GateCommon.gmk:NO such an file or directory
> make[1]: *** no rules creat the target “GateCommon.gmk”。stop。
> Entering source/digits_hits ...
> GNUmakefile:27: GateCommon.gmk: NO such an file or directory
> make[1]: *** no rules creat the target “GateCommon.gmk”。 stop。
> source/digits_hits finished
> Entering source/physics ...
> GNUmakefile:27: GateCommon.gmk: NO such an file or directory
> make[1]: *** no rules creat the target “GateCommon.gmk”。 stop。
> source/physics finished
> Creating shared library tmp/Linux-g++/Gate/libGate.so ...
> g++:error: *.o:NO such an file or directory
> make: *** [tmp/Linux-g++/Gate/libGate.so] error 1
>
>
> <<< then I add the GateCommon.gmk to these folders "source/arf,source/geometry,source/physics,source/digits_hits,source/general",I don't know what to do about that,could you help me , thank you very much, the compiling error output are following:
>
> Creating shared library tmp/Linux-g++/Gate/libGate.so ...
> g++: error: *.o:no such a file or directory
> make: *** [tmp/Linux-g++/Gate/libGate.so] error 1
>
> <<<the source env_gate.sh output are following:
>
> root at liubin-HP-ProBook-4416s:/home/liubin/simulation/gate6# source env_gate.sh
>
> The current value of G4INSTALL is: /home/liubin/simulation/geant4_9_4_p03
> The current value of G4VERSION is: 9.4
>
> Launching Geant4 configuration script /home/liubin/simulation/geant4_9_4_p03/env.sh
>
> On this machine the G4SYSTEM=Linux-g++
> On this machine the G4INSTALL=/home/liubin/simulation/geant4_9_4_p03
> On this machine the G4INCLUDE=/home/liubin/simulation/geant4_9_4_p03/include/
> On this machine the G4LIB=/home/liubin/simulation/geant4_9_4_p03/lib
> On this machine the G4LEVELGAMMADATA=/home/liubin/simulation/geant4_9_4_p03/data/PhotonEvaporation2.1
> On this machine the G4RADIOACTIVEDATA=/home/liubin/simulation/geant4_9_4_p03/data/RadioactiveDecay3.3
> On this machine the G4LEDATA=/home/liubin/simulation/geant4_9_4_p03/data/G4EMLOW6.19
> On this machine the G4NEUTRONHPDATA=/home/liubin/simulation/geant4_9_4_p03/data/G4NDL3.14
> On this machine the G4ABLADATA=/home/liubin/simulation/geant4_9_4_p03/data/G4ABLA3.0
> On this machine the G4REALSURFACEDATA=/home/liubin/simulation/geant4_9_4_p03/data/RealSurface1.0
> On this machine the G4NEUTRONXSDATA=/home/liubin/simulation/geant4_9_4_p03/data/G4NEUTRONXS1.0
> On this machine the G4PIIDATA=/home/liubin/simulation/geant4_9_4_p03/data/G4PII1.2
> On this machine the CLHEP_BASE_DIR=/home/liubin/simulation/CLHEP_2_1_0_1
> On this machine the CLHEP_INCLUDE_DIR=/home/liubin/simulation/CLHEP_2_1_0_1/include
> On this machine the CLHEP_LIB_DIR=/home/liubin/simulation/CLHEP_2_1_0_1/lib
> On this machine the CLHEP_LIB=CLHEP
> On this machine the G4UI_USE_TCSH=1
> On this machine the G4UI_BUILD_XAW_SESSION=1
> On this machine the G4UI_USE_XAW=1
> On this machine the G4UI_BUILD_XM_SESSION=1
> On this machine the G4UI_USE_XM=1
> On this machine the G4UI_BUILD_QT_SESSION=1
> On this machine the G4UI_USE_QT=1
> On this machine the G4VIS_BUILD_DAWN_DRIVER=1
> On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
> On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=1
> On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1
> On this machine the G4VIS_BUILD_VRML_DRIVER=1
> On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=1
> On this machine the G4VIS_USE_DAWN=1
> On this machine the G4VIS_USE_OPENGLX=1
> On this machine the G4VIS_USE_OPENGLXM=1
> On this machine the G4VIS_USE_RAYTRACERX=1
> On this machine the G4VIS_USE_VRML=1
> On this machine the G4VIS_USE_OPENGLQT=1
> On this machine the XMFLAGS=
> On this machine the XMLIBS= -lXm -lXpm
> On this machine the XMFLAGS=
> On this machine the XAWFLAGS=
> On this machine the XAWLIBS= -lXaw
> On this machine the QTMOC=/usr/include/qt4/bin/moc
> On this machine the QTFLAGS=-I/usr/include/qt4/include -I/usr/include/qt4/include/QtCore -I/usr/include/qt4/include/QtGui -I/usr/include/qt4/include/QtOpenGL
> On this machine the QTLIBS=-L/usr/include/qt4/lib -lQtCore -lQtGui
> On this machine the GLQTLIBS=-L/usr/include/qt4/lib -lQtCore -lQtGui -lQtOpenGL
> On this machine the G4LIB_BUILD_GDML=1
> On this machine the XERCESCROOT=
> On this machine the G4LIB_BUILD_G3TOG4=1
> On this machine the G4LIB_USE_G3TOG4=1
> On this machine the G4LIB_BUILD_ZLIB=1
> On this machine the G4LIB_USE_ZLIB=1
> On this machine the G4LIB_BUILD_SHARED=1
> On this machine the G4LIB_BUILD_STATIC=1
>
> Configuring GATE options
>
> G4WORKDIR set to .
> G4TMP set to ./tmp
> G4BIN set to ./bin
> Data analysis and output features enabled
> Ascii data output enabled
> Transport and generation of optical photons is enabled
> Checking your LD_LIBRARY_PATH variable...
> ==> OK: /home/liubin/simulation/root_5_32/lib is already in your LD_LIBRARY_PATH
> Use of ROOT enabled
> ROOT real-time plotter enabled
> Checking your LD_LIBRARY_PATH variable...
> ==> OK: /home/liubin/simulation/lmf_3_0/lib is already in your LD_LIBRARY_PATH
> LMF data output enabled
> ECAT7 data output enabled
> GATEHOME is set to /home/liubin/simulation/gate6
> Checking your path variable...
> ==> OK: /home/liubin/simulation/gate6/bin/Linux-g++ is already in your path variable
> Checking your LD_LIBRARY_PATH variable...
> ==> OK: /home/liubin/simulation/gate6/tmp/Linux-g++/Gate is already in your path variable
> G4VERSION9_3 is set: GATE is compatible with the GEANT4 version 9.3 and 9.4
>
> Done
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
--
-------------
DI Hermann Fuchs
Christian Doppler Laboratory for Medical Radiation Research for Radiation Oncology
Department of Radiation Oncology
Medical University Vienna
Währinger Gürtel 18-20
A-1090 Wien
Tel. + 43 / 1 / 40 400 7271
Mail. hermann.fuchs at meduniwien.ac.at
More information about the Gate-users
mailing list