<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Try the attached makefile<BR>
<BR>
Cheers,<BR>
Hermann<BR>
<BR>
P.S: Please reply also to the GATE mailing-list, it might be useful for others as well<BR>
<BR>
On Mon, 2013-12-02 at 13:50 +0100, Michal Knap wrote:
<BLOCKQUOTE TYPE=CITE>
Hi,
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
I've red this Errata and change gnumakefile like they say in this instruction.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
This is my gnumakefile:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
# --------------------------------------------------------------<BR>
name := Gate<BR>
G4TARGET := $(name)<BR>
G4EXLIB := true
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
G4LIB_BUILD_SHARED=yes
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
ifeq ($(G4WORKDIR),'.')<BR>
G4WORKDIR=../..<BR>
endif
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
G4TMP=$(G4WORKDIR)/tmp<BR>
G4BIN=$(G4WORKDIR)/bin<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
CPPFLAGS += -I../arf/include \<BR>
-I../geometry/include \<BR>
-I../physics/include \<BR>
-I../digits_hits/include \<BR>
-I../general/include \
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
include $(G4INSTALL)/config/binmake.gmk
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
include $(G4WORKDIR)/GateCommon.gmk
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Pozdrawiam<BR>
Michał Knap
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
2013/12/2 Hermann Fuchs <<A HREF="mailto:hermann.fuchs@meduniwien.ac.at">hermann.fuchs@meduniwien.ac.at</A>>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
Hi<BR>
<BR>
depending on your makefile you may need to change a few lines in the gnumakefile<BR>
<BR>
See <A HREF="http://wiki.opengatecollaboration.org/index.php/ERRATA_in_GATEv6.1_sources">http://wiki.opengatecollaboration.org/index.php/ERRATA_in_GATEv6.1_sources</A><BR>
It may also be worth a try to try the unaltered makefiles<BR>
<BR>
Cheers,<BR>
Hermann
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
On Mon, 2013-12-02 at 12:02 +0100, Michal Knap wrote: <BR>
<BLOCKQUOTE TYPE=CITE>
Hi,<BR>
It looks like this:<BR>
<BR>
<I>[mknap@mknap gate_v6.1]$ make</I><BR>
<I>Entering source/arf ...</I><BR>
<I>GNUmakefile:26: /GateCommon.gmk: No such file or directory</I><BR>
<I>make: *** No rule to make target /GateCommon.gmk)`. Stop.</I><BR>
<I>source/arf finished</I><BR>
<I>Entering source/geometry</I><BR>
<I>GNUmakefile:26: /GateCommon.gmk: No such file or directory</I><BR>
<I>make: *** No rule to make target /GateCommon.gmk)`. Stop.</I><BR>
<I>source/geometry finished</I><BR>
<I>Entering source/general ...</I><BR>
<I>GNUmakefile:26: /GateCommon.gmk: No such file or directory</I><BR>
<I>make: *** No rule to make target /GateCommon.gmk)`. Stop.</I><BR>
<I>source/general finished</I><BR>
<I>Entering source/digits_hits ...</I><BR>
<I>GNUmakefile:26: /GateCommon.gmk: No such file or directory</I><BR>
<I>make: *** No rule to make target /GateCommon.gmk)`. Stop.</I><BR>
<I>source/digits_hits finished</I><BR>
<I>Entering source/physics ...</I><BR>
<I>GNUmakefile:26: /GateCommon.gmk: No such file or directory</I><BR>
<I>make: *** No rule to make target /GateCommon.gmk)`. Stop.</I><BR>
<I>source/physics finished</I><BR>
<I>Creating shared library tmp/Linux-g++/Gate/libGate.so ...</I><BR>
<I>g++: error: *.o: No such file or directory</I><BR>
<I>make: *** [tmp/Linux-g++/Gate/libGate.so] Error 1</I><BR>
<BR>
<BR>
I really don't know what is wrong. thank you in advance<BR>
<BR>
<BR>
Pozdrawiam<BR>
Michał Knap<BR>
<BR>
<BR>
2013/12/2 Hermann Fuchs <<A HREF="mailto:hermann.fuchs@meduniwien.ac.at">hermann.fuchs@meduniwien.ac.at</A>><BR>
<BLOCKQUOTE>
Hello<BR>
<BR>
unfortuntely I can not read polish, therefore I can not comment on your error messages.<BR>
However it seams to be some kind of issue related to make/gmake.<BR>
Could you translate your error messages?<BR>
<BR>
Cheers,<BR>
Hermann <BR>
<BR>
<BR>
On Sun, 2013-12-01 at 22:21 +0100, Michal Knap wrote: <BR>
<BLOCKQUOTE TYPE=CITE>
<B>Hi,</B><BR>
<B>I'm a student of Technological University of Warsaw. </B><BR>
<B>I'm trying to install Geat4.9.4.p04 Gate 6.0 on Fedora 15 32bit.</B><BR>
<BR>
<B>I'm using this instruction:</B><BR>
<I><A HREF="http://wiki.opengatecollaboration.org/index.php/New_Compilation_Procedure">http://wiki.opengatecollaboration.org/index.php/New_Compilation_Procedure</A></I><BR>
<BR>
<B>Everything was fine until this part (Gate6 Installation)</B><BR>
<BR>
<I>[mknap@mknap gate_v6.1]$ source env_gate.sh</I><BR>
<BR>
<I>The current value of G4INSTALL is: /home/mknap/Gate/opt/simulations/geant4.9.4.p04</I><BR>
<I>The current value of G4VERSION is: 9.4</I><BR>
<BR>
<I>Launching Geant4 configuration script /home/mknap/Gate/opt/simulations/geant4.9.4.p04/env.sh</I><BR>
<BR>
<I>On this machine the G4SYSTEM=Linux-g++</I><BR>
<I>On this machine the G4INSTALL=/home/mknap/Gate/opt/simulations/geant4.9.4.p04</I><BR>
<I>On this machine the G4INCLUDE=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/include/</I><BR>
<I>On this machine the G4LIB=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/lib</I><BR>
<I>On this machine the G4LEVELGAMMADATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/PhotonEvaporation2.1</I><BR>
<I>On this machine the G4RADIOACTIVEDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/RadioactiveDecay3.3</I><BR>
<I>On this machine the G4LEDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4EMLOW6.19</I><BR>
<I>On this machine the G4NEUTRONHPDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4NDL3.14</I><BR>
<I>On this machine the G4ABLADATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4ABLA3.0</I><BR>
<I>On this machine the G4REALSURFACEDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/RealSurface1.0</I><BR>
<I>On this machine the G4NEUTRONXSDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4NEUTRONXS1.0</I><BR>
<I>On this machine the G4PIIDATA=/home/mknap/Gate/opt/simulations/geant4.9.4.p04/data/G4PII1.2</I><BR>
<I>On this machine the CLHEP_BASE_DIR=/usr/local</I><BR>
<I>On this machine the CLHEP_INCLUDE_DIR=/usr/local/include</I><BR>
<I>On this machine the CLHEP_LIB_DIR=/usr/local/lib</I><BR>
<I>On this machine the CLHEP_LIB=CLHEP</I><BR>
<I>On this machine the G4UI_USE_TCSH=1</I><BR>
<I>On this machine the G4UI_BUILD_XAW_SESSION=1</I><BR>
<I>On this machine the G4UI_USE_XAW=1</I><BR>
<I>On this machine the G4UI_BUILD_XM_SESSION=1</I><BR>
<I>On this machine the G4UI_USE_XM=1</I><BR>
<I>On this machine the G4UI_BUILD_QT_SESSION=1</I><BR>
<I>On this machine the G4UI_USE_QT=1</I><BR>
<I>On this machine the G4VIS_BUILD_DAWN_DRIVER=1</I><BR>
<I>On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1</I><BR>
<I>On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=1</I><BR>
<I>On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1</I><BR>
<I>On this machine the G4VIS_BUILD_VRML_DRIVER=1</I><BR>
<I>On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=1</I><BR>
<I>On this machine the G4VIS_USE_DAWN=1</I><BR>
<I>On this machine the G4VIS_USE_OPENGLX=1</I><BR>
<I>On this machine the G4VIS_USE_OPENGLXM=1</I><BR>
<I>On this machine the G4VIS_USE_RAYTRACERX=1</I><BR>
<I>On this machine the G4VIS_USE_VRML=1</I><BR>
<I>On this machine the G4VIS_USE_OPENGLQT=1</I><BR>
<I>On this machine the XMFLAGS=</I><BR>
<I>On this machine the XMLIBS= -lXm -lXpm</I><BR>
<I>On this machine the XMFLAGS=</I><BR>
<I>On this machine the XAWFLAGS=</I><BR>
<I>On this machine the XAWLIBS= -lXaw</I><BR>
<I>On this machine the QTMOC=/usr/bin/moc-qt4</I><BR>
<I>On this machine the QTFLAGS=-I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL</I><BR>
<I>On this machine the QTLIBS=-L/usr/lib -lQtCore_debug -lQtGui</I><BR>
<I>On this machine the GLQTLIBS=-L/usr/lib -lQtCore_debug -lQtGui -lQtOpenGL</I><BR>
<I>On this machine the G4LIB_BUILD_GDML=1</I><BR>
<I>On this machine the XERCESCROOT=</I><BR>
<I>On this machine the G4LIB_BUILD_G3TOG4=1</I><BR>
<I>On this machine the G4LIB_USE_G3TOG4=1</I><BR>
<I>On this machine the G4LIB_BUILD_ZLIB=1</I><BR>
<I>On this machine the G4LIB_USE_ZLIB=1</I><BR>
<I>On this machine the G4LIB_BUILD_SHARED=1</I><BR>
<I>On this machine the G4LIB_BUILD_STATIC=1</I><BR>
<BR>
<I>Configuring GATE options</I><BR>
<BR>
<I>G4WORKDIR set to .</I><BR>
<I>G4TMP set to ./tmp</I><BR>
<I>G4BIN set to ./bin</I><BR>
<I>Data analysis and output features enabled</I><BR>
<I>Ascii data output enabled</I><BR>
<I>Transport and generation of optical photons is disabled</I><BR>
<I>Checking your LD_LIBRARY_PATH variable...</I><BR>
<I> ==> OK: /home/mknap/Gate/opt/simulations/root/lib is already in your LD_LIBRARY_PATH</I><BR>
<I>Use of ROOT enabled</I><BR>
<I>ROOT real-time plotter disabled</I><BR>
<I>Checking your LD_LIBRARY_PATH variable...</I><BR>
<I> ==> OK: /home/mknap/Gate/opt/simulations/lmf_v3.0/lib added to your LD_LIBRARY_PATH</I><BR>
<I>LMF data output enabled</I><BR>
<I>ECAT7 data output enabled</I><BR>
<I>GATEHOME is set to /home/mknap/Gate/opt/simulations/gate_v6.1</I><BR>
<I>Checking your path variable...</I><BR>
<I> ==> OK: /home/mknap/Gate/opt/simulations/gate_v6.1/bin/Linux-g++ is already in your path variable</I><BR>
<I>Checking your LD_LIBRARY_PATH variable...</I><BR>
<I> ==> OK: /home/mknap/Gate/opt/simulations/gate_v6.1/tmp/Linux-g++/Gate added to your path variable</I><BR>
<I>G4VERSION9_3 is set: GATE is compatible with the GEANT4 version 9.3 and 9.4</I><BR>
<BR>
<I>Done</I><BR>
<BR>
<BR>
<BR>
<B>After this i type "make" and here i the problems starts: </B><BR>
<BR>
<I>[mknap@mknap gate_v6.1]$ make</I><BR>
<I>Entering source/arf ...</I><BR>
<I>GNUmakefile:26: GateCommon.gmk: Nie ma takiego pliku ani katalogu</I><BR>
<I>make[1]: *** Brak reguł do wykonania obiektu `GateCommon.gmk'. Stop.</I><BR>
<I>source/arf finished</I><BR>
<BR>
<B><I>( in english: GNUmakefile:26: /GateCommon.gmk: No such file or directory</I></B><BR>
<B><I>make: *** No rule to make target /GateCommon.gmk)</I></B><I>`</I><BR>
<BR>
<I>Entering source/geometry ...</I><BR>
<I>GNUmakefile:26: GateCommon.gmk: Nie ma takiego pliku ani katalogu</I><BR>
<I>make[1]: *** Brak reguł do wykonania obiektu `GateCommon.gmk'. Stop.</I><BR>
<I>source/geometry finished</I><BR>
<I>Entering source/general ...</I><BR>
<I>GNUmakefile:25: GateCommon.gmk: Nie ma takiego pliku ani katalogu</I><BR>
<I>make[1]: *** Brak reguł do wykonania obiektu `GateCommon.gmk'. Stop.</I><BR>
<I>source/general finished</I><BR>
<I>Entering source/digits_hits ...</I><BR>
<I>GNUmakefile:26: GateCommon.gmk: Nie ma takiego pliku ani katalogu</I><BR>
<I>make[1]: *** Brak reguł do wykonania obiektu `GateCommon.gmk'. Stop.</I><BR>
<I>source/digits_hits finished</I><BR>
<I>Entering source/physics ...</I><BR>
<I>GNUmakefile:26: GateCommon.gmk: Nie ma takiego pliku ani katalogu</I><BR>
<I>make[1]: *** Brak reguł do wykonania obiektu `GateCommon.gmk'. Stop.</I><BR>
<I>source/physics finished</I><BR>
<I>Creating shared library tmp/Linux-g++/Gate/libGate.so ...</I><BR>
<I>g++: error: *.o: Nie ma takiego pliku ani katalogu</I><BR>
<I>make: *** [tmp/Linux-g++/Gate/libGate.so] Błąd 1</I><BR>
<BR>
<BR>
<B>I found this instruction but it doesn't work.</B><BR>
<I><A HREF="http://wiki.opengatecollaboration.org/index.php/ERRATA_in_GATEv6.1_sources">http://wiki.opengatecollaboration.org/index.php/ERRATA_in_GATEv6.1_sources</A></I><BR>
<BR>
<BR>
<BR>
<BR>
<B>I've done evertything from the errata and still have the same problem.</B><BR>
<BR>
<BR>
<B>I attached my GNUmakefile, env_gate.sh, and GateCommon.gmk and screenshot with path to all files. </B><BR>
<BR>
<BR>
<B>path to files home/Gate/opt/simulations</B><BR>
<BR>
<BR>
<BR>
<B>Does anybody have an idea how to do this? Please help me.</B><BR>
<BR>
<BR>
<B>Regards</B><BR>
<BR>
<B><FONT COLOR="#888888">Michal Knap</FONT></B><BR>
<BR>
<BR>
<BR>
<PRE>
_______________________________________________
Gate-users mailing list
<A HREF="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</A>
<A HREF="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
-------------
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. <A HREF="mailto:hermann.fuchs@meduniwien.ac.at">hermann.fuchs@meduniwien.ac.at</A>
</PRE>
</TD>
</TR>
</TABLE>
<BR>
_______________________________________________<BR>
Gate-users mailing list<BR>
<A HREF="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</A><BR>
<A HREF="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</A> <BR>
</BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
-------------
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. <A HREF="mailto:hermann.fuchs@meduniwien.ac.at">hermann.fuchs@meduniwien.ac.at</A>
</PRE>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
-------------
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. <A HREF="mailto:hermann.fuchs@meduniwien.ac.at">hermann.fuchs@meduniwien.ac.at</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>