[Gate-users] Re: Gate compile error

Simon Stute gate.stute at gmail.com
Mon May 21 12:58:22 CEST 2007


Hi,

I forgot to tell you to remove the tmp directory in the Gate directory
unless you already did it. It probably contains the old object and
dependencies files which were created when you compiled Gate for the first
time with the old version of Geant4.8.2.p01. Your problem may come from
this.

Cheers
Simon

2007/5/21, Simon Stute <gate.stute at gmail.com>:
>
> Hi,
>
> There is no problem with the use of root 5.14 which is supported by Gate
> 3.0.0, 3.1.0 and 3.1.1. I personally always use this version which works
> fine. The problem is not due to the chosen version of Gate too (3.0.0 ),
> even if as Daniel suggested, the use of Gate3.1.1 is recommended with the
> Geant4.8.1.p02. The problem comes from the last installation of
> Geant4.8.2.p01 you did before installing the Geant4.8.1.p02. The Gate
> makefile search `/usr/src/ geant4.8.2.p01/source/run/include/G4RunManager.hh'
> that you have probably removed. Be sure that your G4INSTALL is pointing to
> the good path of the Geant4.8.1.p02 and not of Geant4.8.2.p01, and then
> you may have a look at the env.csh (of Geant4.8.1.p02) to see if all the
> path are correct.
>
> Good luck
> Simon
>
> 2007/5/18, Daniel Woodsworth < danieljw at phas.ubc.ca>:
> >
> > Hi Roger,
> >
> > I think you might be mixing your versions of software. The Gate website
> > recommends:
> >
> >
> > gate 3.0.0      geant4 8.0.p01          root 5.xx       clhep 2.0.2.2
> > gcc 4.0
> >
> > or
> >
> > gate 3.1.1      geant4 8.1.p02          root 5.12       clhep 1.9.2.3 -
> > 2.0.2.3         gcc
> > 3.2 to 4.1
> >
> > or
> >
> > gate 3.1.0      geant4 8.1.p02  root 5.12       clhep 1.9.2.3 - 2.0.2.3         gcc
> > 3.2 to
> > 4.0
> >
> > You're trying to use the newest supported (by GATE) version of GEANT4
> > (8.1p02) with an older version of GATE (3.0.0). Next, Gate only supports
> > up to root 5.12, but you are using root 5.14, which might cause
> > problems.
> > Also, Gate v. 3.0.0 seems to only support gcc 4.0, which is a pretty new
> > version of gcc. It is quite possible that you have an older version of
> > gcc
> > which could also cause problems.
> >
> > Since you already have quite new versions of CLHEP and geant4 compiled,
> > I
> > would rebuild root using version 5.12 and try and install Gate v 3.1.1
> > (which supports a wide range of gcc compilers). Whatever you do, confirm
> >
> > on the GATE website that all the software is compatible.
> >
> > Hope this helps.
> >
> > Daniel
> >
> > > Hi
> > >
> > > I have compiled
> > > CLHEP 2.0.2.2
> > > geant4.8.1.p02
> > > without apparent problems.
> > >
> > > make of root_v5.14.00
> > > gave some errors about mysql
> > > but completed.
> > >
> > > attempting to make Gate_v3.0.0
> > > gives
> > >
> > > make: *** No rule to make target
> > > `/usr/src/geant4.8.2.p01/source/run/include/G4RunManager.hh', needed
> > > by `tmp/Linux-g++/Gate/exe/Gate.d'.  Stop.
> > >
> > > This suggests that Gate_v3.0.0 wants Geant4.8.2.p01
> > > However, make of gate after geant4.8.2.p01 gives numerous errors of
> > this
> > > type:
> > >
> > > : undefined reference to
> > > `G4PhysicalVolumeMassScene::~G4PhysicalVolumeMassScene()'
> > > /usr/src/geant4.8.2.p01/lib/Linux-g++/libG4Tree.a(
> > G4ASCIITreeSceneHandler.o)(.text+0xc52):
> > > In function
> > > `G4ASCIITreeSceneHandler::EndModeling()':
> > >
> > >
> > > Thanks for any suggestions
> > > Roger Bourne
> > > University of Sydney.
> > >
> > >
> > >
> > >
> > >>
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Gate-users mailing list
> > > Gate-users at lists.healthgrid.org
> > > http://lists.healthgrid.org/mailman/listinfo/gate-users
> > >
> >
> >
> > _______________________________________________
> > Gate-users mailing list
> > Gate-users at lists.healthgrid.org
> > http://lists.healthgrid.org/mailman/listinfo/gate-users
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070521/112eb941/attachment.htm>


More information about the Gate-users mailing list