<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Simon,<br>I have done as you have said and manage to start a compilation process, but with errors.<br>This is now my output from terminal window:<br><br>mtr@mtr-desktop:/usr/share/gate/gate_v5.0.0_p01$ source env_gate.sh<br><br>The current value of G4INSTALL is: /usr/share/geant4/geant4.9.2.p01<br>The current value of G4VERSION is: 9.2<br><br>Launching Geant4 configuration script /usr/share/geant4/geant4.9.2.p01/env.sh<br><br>On this machine the G4SYSTEM=Linux-g++<br>On this machine the G4INSTALL=/usr/share/geant4/geant4.9.2.p01<br>On this machine the G4LIB=/usr/share/geant4/geant4.9.2.p01/lib<br>On this machine the G4LEVELGAMMADATA=/usr/share/geant4/geant4.9.2.p01/data/PhotonEvaporation2.0<br>On this machine the G4RADIOACTIVEDATA=/usr/share/geant4/geant4.9.2.p01/data/RadioactiveDecay3.2<br>On this machine the
G4LEDATA=/usr/share/geant4/geant4.9.2.p01/data/G4EMLOW6.2<br>On this machine the G4NEUTRONHPDATA=/usr/share/geant4/geant4.9.2.p01/data/G4NDL3.13<br>On this machine the G4ABLADATA=/usr/share/geant4/geant4.9.2.p01/data/G4ABLA3.0<br>On this machine the CLHEP_BASE_DIR=/usr/share/CLHEP<br>On this machine the CLHEP_INCLUDE_DIR=/usr/share/CLHEP/include<br>On this machine the CLHEP_LIB_DIR=/usr/share/CLHEP/lib<br>On this machine the CLHEP_LIB=CLHEP<br>On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1<br>On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1<br>On this machine the G4VIS_USE_OPENGLX=1<br>On this machine the G4VIS_USE_RAYTRACERX=1<br>On this machine the XMFLAGS=<br>On this machine the XMLIBS=<br>On this machine the XMFLAGS=<br>On this machine the XAWFLAGS=<br>On this machine the XAWLIBS=<br>On this machine the G4LIB_BUILD_STATIC=1<br>On this machine the G4LIB_USE_GRANULAR=1<br>On this machine the G4UI_USE_TCSH=1<br><br>Configuring GATE
options<br><br>G4WORKDIR set to .<br>G4TMP set to ./tmp<br>G4BIN set to ./bin<br>Data analysis and output features enabled<br>Ascii data output enabled<br>Transport and generation of optical photons is enabled<br>/lib directory is no /home/mtr/root<br> you should check that ROOT shared libraries are included in LD_LIBRARY_PATH<br>Use of ROOT enabled<br>ROOT real-time plotter disabled<br>LMF data output disabled<br>ECAT7 data output disabled<br>GATEHOME is set to /usr/share/gate/gate_v5.0.0_p01<br>Checking your path variable...<br> ==> OK: /usr/share/gate/gate_v5.0.0_p01/bin/Linux-g++ is already in your path variable<br>G4VERSION9_2 is set: GATE is compatible with the geant4 version 9.2<br><br>Done<br><br>mtr@mtr-desktop:/usr/share/gate/gate_v5.0.0_p01$ make<br>Making dependency for file Gate.cc ...<br>In file included from
./source/mandatory_G4_classes/include/GateSteppingAction.hh:34,<br> from Gate.cc:34:<br>./source/output/include/GateTrack.hh:10:19: error: TROOT.h: No such file or directory<br>./source/output/include/GateTrack.hh:11:19: error: TTree.h: No such file or directory<br>In file included from Gate.cc:53:<br>.<br>.<br>.etc...<br>I'm getting a lot of these TROOT.h, TTree.h errors. Is this a problem with root LD_LIBRARY_PATH ?<br>Here is how I configure my enviormental variables:<br><br>export ROOTSYS=/home/mtr/root
<br>export PATH=$ROOTSYS/bin:$PATH<br>export LD_LIBRARY_PATH=/home/mtr/root/lib:$LD_LIBRARY_PATH<br><br>ROOT is installed in /home/mtr/root directory, and there is a lib directory in there. <br>This is my LD_LIBRARY_PATH after export:<br>mtr@mtr-desktop:/usr/share/gate/gate_v5.0.0_p01$ printenv
LD_LIBRARY_PATH<br>/home/mtr/root/lib:/usr/share/CLHEP/lib/:<br><br>regards<br>Marko<br><br><br><br><br><br>--- On <b>Mon, 10/12/09, Simon Stute <i><gate.stute@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Simon Stute <gate.stute@gmail.com><br>Subject: Re: [Gate-users] gate5 compilation on Ubuntu problem<br>To: "Marko T. Oreskovic" <mtoreskovic@yahoo.com><br>Cc: gate-users@lists.healthgrid.org<br>Date: Monday, October 12, 2009, 10:49 AM<br><br><div id="yiv513445290">Hi,<br><br>When you launch a command as sudo, your personnal environment is not transmitted.<br>So give all rights to blk-desktop in your gate directory, then launch the compilation as 'you' (without sudo), and once the compilation is successful you can give back all rights to root.<br>
<br>Cheers,<br>Simon<br><br><div class="gmail_quote">On Fri, Oct 9, 2009 at 5:54 PM, Marko T. Oreskovic <span dir="ltr"><<a rel="nofollow" ymailto="mailto:mtoreskovic@yahoo.com" target="_blank" href="/mc/compose?to=mtoreskovic@yahoo.com">mtoreskovic@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hi all,<br>I'm new to linux and having problems compiling gate5 on Ubuntu 9.04, here is my listing: <br><br>blk@blk-desktop:/usr/share/gate/gate_v5.0.0_p01$ ls<br>benchmarks env_gate.sh GateMaterials.db Materials.xml README Surfaces.xml<br>
Cluster_Tools examples GNUmakefile noverbose.mac ReleaseNotes.pdf variables.gmk<br>env_gate.csh Gate.cc license prerunGate.mac source<br>blk@blk-desktop:/usr/share/gate/gate_v5.0.0_p01$ source env_gate.sh<br>
<br>The current value of G4INSTALL is: /usr/share/geant4/geant4.9.2.p01<br>The current value of G4VERSION is:
9.2<br><br>Launching Geant4 configuration script /usr/share/geant4/geant4.9.2.p01/env.sh<br><br>On this machine the G4SYSTEM=Linux-g++<br>On this machine the G4INSTALL=/usr/share/geant4/geant4.9.2.p01<br>On this machine the G4LIB=/usr/share/geant4/geant4.9.2.p01/lib<br>
On this machine the G4LEVELGAMMADATA=/usr/share/geant4/geant4.9.2.p01/data/PhotonEvaporation2.0<br>On this machine the G4RADIOACTIVEDATA=/usr/share/geant4/geant4.9.2.p01/data/RadioactiveDecay3.2<br>On this machine the G4LEDATA=/usr/share/geant4/geant4.9.2.p01/data/G4EMLOW6.2<br>
On this machine the G4NEUTRONHPDATA=/usr/share/geant4/geant4.9.2.p01/data/G4NDL3.13<br>On this machine the G4ABLADATA=/usr/share/geant4/geant4.9.2.p01/data/G4ABLA3.0<br>On this machine the CLHEP_BASE_DIR=/usr/share/CLHEP<br>
On this machine the CLHEP_INCLUDE_DIR=/usr/share/CLHEP/include<br>On this machine the CLHEP_LIB_DIR=/usr/share/CLHEP/lib<br>On this machine the CLHEP_LIB=CLHEP<br>On this machine the
G4VIS_BUILD_OPENGLX_DRIVER=1<br>On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1<br>On this machine the G4VIS_USE_OPENGLX=1<br>On this machine the G4VIS_USE_RAYTRACERX=1<br>On this machine the XMFLAGS=<br>On this machine the XMLIBS=<br>
On this machine the XMFLAGS=<br>On this machine the XAWFLAGS=<br>On this machine the XAWLIBS=<br>On this machine the G4LIB_BUILD_STATIC=1<br>On this machine the G4LIB_USE_GRANULAR=1<br>On this machine the G4UI_USE_TCSH=1<br>
<br>Configuring GATE options<br><br>G4WORKDIR set to .<br>G4TMP set to ./tmp<br>G4BIN set to ./bin<br>Data analysis and output features enabled<br>Ascii data output enabled<br>Transport and generation of optical photons is enabled<br>
Use of ROOT disabled<br>ROOT real-time plotter disabled<br>LMF data output disabled<br>ECAT7 data output disabled<br>GATEHOME is set to /usr/share/gate/gate_v5.0.0_p01<br>Checking your path variable...<br> ==> OK: /usr/share/gate/gate_v5.0.0_p01/bin/Linux-g++ is
already in your path variable<br>G4VERSION9_2 is set: GATE is compatible with the geant4 version 9.2<br><br>Done<br><br>blk@blk-desktop:/usr/share/gate/gate_v5.0.0_p01$ <br>blk@blk-desktop:/usr/share/gate/gate_v5.0.0_p01$ sudo make<br>
GNUmakefile:20: /variables.gmk: No such file or directory<br>GNUmakefile:22: /config/binmake.gmk: No such file or directory<br>make: *** No rule to make target `/config/binmake.gmk'. Stop.<br><br><br><br>I have tried using just make, without sudo, but then I'm getting no permission errors.<br>
I have seen this problem posted before but no answers. Only one answer was about setting a<br>date two years back, but that did not help.<br>Any hints ?</td></tr></tbody></table><br>
<br>_______________________________________________<br>
Gate-users mailing list<br>
<a rel="nofollow" ymailto="mailto:Gate-users@lists.healthgrid.org" target="_blank" href="/mc/compose?to=Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
<br></blockquote></div><br>
</div></blockquote></td></tr></table><br>