[Gate-users] help with Geant4 Ubuntu installation
gate.stute at gmail.com
Thu Dec 10 10:37:43 CET 2009
First it is obvious that if the compilation failed, the linkage of your
examples will fail, because some G4 libraries have not been created !
The error message in the G4 compilation concerns clhep (G4visHepRep), and if
you have a quick look at the G4 recommendations on the different clhep
versions that are compatible with each G4 version, you will see that to
compile the G4.9.1, clhep 220.127.116.11 is needed, and not 18.104.22.168, I think that
is the reason.
On Wed, Dec 9, 2009 at 11:17 PM, Freddie D <freddie.781 at gmail.com> wrote:
> Hello all,
> I have been attempting to install Geant4.9.1.p03 on an Ubuntu Linux v. 9.10
> (Karmic Koala) operating system. (I have attempted to install the later
> version of Geant4, Geant4.9.2 but it is not compatible with GATE 5.0.0.p01
> according to GATE installation error messages I received. Therefore, I
> defaulted back to the previous version of Geant4)
> I have installed LMF v3.0, CHLEP v22.214.171.124, ROOT v5.25.04 (successfully, I
> think). I have run any checks that were recommended, and used the
> configuration scripts to setup the environmental variables. When attempting
> to build Geant4.9.1.p03, however, I get an error message (after many hours
> of building/compiling) which indicates that there may have been some errors
> during the process. I have rebuilt "fresh" copies of Geant4.9.1.p03 a few
> times, but still get the error same message. I have attached the log file
> from this build. (I did not receive any such messages when building
> Geant4.9.2) Line # 4316 of the log file indicates that G4visHepRep was not
> created/compiled correctly:
> Compiling DefaultHepRepTypeTree.cc ...
> Compiling DeflateOutputStreamBuffer.cc ...
> In file included from src/DeflateOutputStreamBuffer.cc:3:
> include/cheprep/DeflateOutputStreamBuffer.h:32: error: ‘EOF’ was not
> declared in this scope
> make: ***
> Error 1
> Making dependency for file src/G4TheRayTracer.cc ...
> Making dependency for file src/G4RTXScanner.cc ...
> Despite the error messages, I have attempted to run a few examples. The
> first example in ...../novice/N01 seems to run fine. All other examples
> attempted, however, give me the error message:
> /usr/bin/ld: cannot find -lG4visHepRep collect2: ld returned 1 exit status
> I have found an external thread regarding this issue (please see
> but the issue was never resolved. I have also installed additional Ubuntu
> packages mentioned in other forums with similar problems.
> If anyone has suggestions on how to compile G4visHepRep correctly, or
> information on paths, incompatibilities, etc. it would be appreciated!
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
More information about the Gate-users