[Gate-users] Fwd: Gate 6.1 Installation Problem
Hermann Fuchs
hermann.fuchs at meduniwien.ac.at
Mon Dec 2 14:04:28 CET 2013
Try the attached makefile
Cheers,
Hermann
P.S: Please reply also to the GATE mailing-list, it might be useful for
others as well
On Mon, 2013-12-02 at 13:50 +0100, Michal Knap wrote:
> Hi,
>
> I've red this Errata and change gnumakefile like they say in this
> instruction.
>
> This is my gnumakefile:
>
> # --------------------------------------------------------------
> name := Gate
> G4TARGET := $(name)
> G4EXLIB := true
> G4LIB_BUILD_SHARED=yes
> ifeq ($(G4WORKDIR),'.')
> G4WORKDIR=../..
> endif
> G4TMP=$(G4WORKDIR)/tmp
> G4BIN=$(G4WORKDIR)/bin
>
> CPPFLAGS += -I../arf/include \
> -I../geometry/include \
> -I../physics/include \
> -I../digits_hits/include \
> -I../general/include \
>
> include $(G4INSTALL)/config/binmake.gmk
> include $(G4WORKDIR)/GateCommon.gmk
>
>
>
>
> Pozdrawiam
> Michał Knap
>
>
>
>
> 2013/12/2 Hermann Fuchs <hermann.fuchs at meduniwien.ac.at>
>
> Hi
>
> depending on your makefile you may need to change a few lines
> in the gnumakefile
>
> See
> http://wiki.opengatecollaboration.org/index.php/ERRATA_in_GATEv6.1_sources
> It may also be worth a try to try the unaltered makefiles
>
> Cheers,
> Hermann
>
>
>
> On Mon, 2013-12-02 at 12:02 +0100, Michal Knap wrote:
>
> > Hi,
> > It looks like this:
> >
> > [mknap at mknap gate_v6.1]$ make
> > Entering source/arf ...
> > GNUmakefile:26: /GateCommon.gmk: No such file or directory
> > make: *** No rule to make target /GateCommon.gmk)`. Stop.
> > source/arf finished
> > Entering source/geometry
> > GNUmakefile:26: /GateCommon.gmk: No such file or directory
> > make: *** No rule to make target /GateCommon.gmk)`. Stop.
> > source/geometry finished
> > Entering source/general ...
> > GNUmakefile:26: /GateCommon.gmk: No such file or directory
> > make: *** No rule to make target /GateCommon.gmk)`. Stop.
> > source/general finished
> > Entering source/digits_hits ...
> > GNUmakefile:26: /GateCommon.gmk: No such file or directory
> > make: *** No rule to make target /GateCommon.gmk)`. Stop.
> > source/digits_hits finished
> > Entering source/physics ...
> > GNUmakefile:26: /GateCommon.gmk: No such file or directory
> > make: *** No rule to make target /GateCommon.gmk)`. Stop.
> > source/physics finished
> > Creating shared library tmp/Linux-g++/Gate/libGate.so ...
> > g++: error: *.o: No such file or directory
> > make: *** [tmp/Linux-g++/Gate/libGate.so] Error 1
> >
> >
> > I really don't know what is wrong. thank you in advance
> >
> >
> > Pozdrawiam
> > Michał Knap
> >
> >
> > 2013/12/2 Hermann Fuchs <hermann.fuchs at meduniwien.ac.at>
> >
> > Hello
> >
> > unfortuntely I can not read polish, therefore I can
> > not comment on your error messages.
> > However it seams to be some kind of issue related to
> > make/gmake.
> > Could you translate your error messages?
> >
> > Cheers,
> > Hermann
> >
> >
> > On Sun, 2013-12-01 at 22:21 +0100, Michal Knap
> > wrote:
> >
> > > Hi,
> > > I'm a student of Technological University of
> > > Warsaw.
> > > I'm trying to install Geat4.9.4.p04 Gate 6.0 on
> > > Fedora 15 32bit.
> > >
> > > I'm using this instruction:
> > > http://wiki.opengatecollaboration.org/index.php/New_Compilation_Procedure
> > >
> > > Everything was fine until this part (Gate6
> > > Installation)
> > >
> > > [mknap at mknap gate_v6.1]$ source env_gate.sh
> > >
> > > The current value of G4INSTALL
> > > is: /home/mknap/Gate/opt/simulations/geant4.9.4.p04
> > > The current value of G4VERSION is: 9.4
> > >
> > > Launching Geant4 configuration
> > > script /home/mknap/Gate/opt/simulations/geant4.9.4.p04/env.sh
> > >
> > > On this machine the G4SYSTEM=Linux-g++
> > > On this machine the
> > > G4INSTALL=/home/mknap/Gate/opt/simulations/geant4.9.4.p04
> > > On this machine the
> > > G4INCLUDE=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/include/
> > > On this machine the
> > > G4LIB=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/lib
> > > On this machine the
> > > G4LEVELGAMMADATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/PhotonEvaporation2.1
> > > On this machine the
> > > G4RADIOACTIVEDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/RadioactiveDecay3.3
> > > On this machine the
> > > G4LEDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4EMLOW6.19
> > > On this machine the
> > > G4NEUTRONHPDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4NDL3.14
> > > On this machine the
> > > G4ABLADATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4ABLA3.0
> > > On this machine the
> > > G4REALSURFACEDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/RealSurface1.0
> > > On this machine the
> > > G4NEUTRONXSDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4NEUTRONXS1.0
> > > On this machine the
> > > G4PIIDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4PII1.2
> > > On this machine the CLHEP_BASE_DIR=/usr/local
> > > On this machine the
> > > CLHEP_INCLUDE_DIR=/usr/local/include
> > > On this machine the CLHEP_LIB_DIR=/usr/local/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/bin/moc-qt4
> > > On this machine the QTFLAGS=-I/usr/include
> > > -I/usr/include/QtCore -I/usr/include/QtGui
> > > -I/usr/include/QtOpenGL
> > > On this machine the QTLIBS=-L/usr/lib
> > > -lQtCore_debug -lQtGui
> > > On this machine the GLQTLIBS=-L/usr/lib
> > > -lQtCore_debug -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
> > > disabled
> > > Checking your LD_LIBRARY_PATH variable...
> > > ==> OK: /home/mknap/Gate/opt/simulations/root/lib
> > > is already in your LD_LIBRARY_PATH
> > > Use of ROOT enabled
> > > ROOT real-time plotter disabled
> > > Checking your LD_LIBRARY_PATH variable...
> > > ==>
> > > OK: /home/mknap/Gate/opt/simulations/lmf_v3.0/lib
> > > added to your LD_LIBRARY_PATH
> > > LMF data output enabled
> > > ECAT7 data output enabled
> > > GATEHOME is set
> > > to /home/mknap/Gate/opt/simulations/gate_v6.1
> > > Checking your path variable...
> > > ==>
> > > OK: /home/mknap/Gate/opt/simulations/gate_v6.1/bin/Linux-g++ is already in your path variable
> > > Checking your LD_LIBRARY_PATH variable...
> > > ==>
> > > OK: /home/mknap/Gate/opt/simulations/gate_v6.1/tmp/Linux-g++/Gate added to your path variable
> > > G4VERSION9_3 is set: GATE is compatible with the
> > > GEANT4 version 9.3 and 9.4
> > >
> > > Done
> > >
> > >
> > >
> > > After this i type "make" and here i the problems
> > > starts:
> > >
> > > [mknap at mknap gate_v6.1]$ make
> > > Entering source/arf ...
> > > GNUmakefile:26: GateCommon.gmk: Nie ma takiego
> > > pliku ani katalogu
> > > make[1]: *** Brak reguł do wykonania obiektu
> > > `GateCommon.gmk'. Stop.
> > > source/arf finished
> > >
> > > ( in english: GNUmakefile:26: /GateCommon.gmk: No
> > > such file or directory
> > > make: *** No rule to make
> > > target /GateCommon.gmk)`
> > >
> > > Entering source/geometry ...
> > > GNUmakefile:26: GateCommon.gmk: Nie ma takiego
> > > pliku ani katalogu
> > > make[1]: *** Brak reguł do wykonania obiektu
> > > `GateCommon.gmk'. Stop.
> > > source/geometry finished
> > > Entering source/general ...
> > > GNUmakefile:25: GateCommon.gmk: Nie ma takiego
> > > pliku ani katalogu
> > > make[1]: *** Brak reguł do wykonania obiektu
> > > `GateCommon.gmk'. Stop.
> > > source/general finished
> > > Entering source/digits_hits ...
> > > GNUmakefile:26: GateCommon.gmk: Nie ma takiego
> > > pliku ani katalogu
> > > make[1]: *** Brak reguł do wykonania obiektu
> > > `GateCommon.gmk'. Stop.
> > > source/digits_hits finished
> > > Entering source/physics ...
> > > GNUmakefile:26: GateCommon.gmk: Nie ma takiego
> > > pliku ani katalogu
> > > make[1]: *** Brak reguł do wykonania obiektu
> > > `GateCommon.gmk'. Stop.
> > > source/physics finished
> > > Creating shared library tmp/Linux-g
> > > ++/Gate/libGate.so ...
> > > g++: error: *.o: Nie ma takiego pliku ani katalogu
> > > make: *** [tmp/Linux-g++/Gate/libGate.so] Błąd 1
> > >
> > >
> > > I found this instruction but it doesn't work.
> > > http://wiki.opengatecollaboration.org/index.php/ERRATA_in_GATEv6.1_sources
> > >
> > >
> > >
> > >
> > > I've done evertything from the errata and still
> > > have the same problem.
> > >
> > >
> > > I attached my GNUmakefile, env_gate.sh, and
> > > GateCommon.gmk and screenshot with path to all
> > > files.
> > >
> > >
> > > path to files home/Gate/opt/simulations
> > >
> > >
> > >
> > > Does anybody have an idea how to do this? Please
> > > help me.
> > >
> > >
> > > Regards
> > >
> > > Michal Knap
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > 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
> >
> > _______________________________________________
> > 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
>
>
>
--
-------------
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131202/fdebcbe1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GNUmakefile
Type: text/x-makefile
Size: 769 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131202/fdebcbe1/attachment-0001.bin>
More information about the Gate-users
mailing list