[Gate-users] installing Gate 4.0.0 on Mac OS X 10.4.11
THIAM Cheick 219838
cheick.thiam at cea.fr
Thu Jun 18 15:04:02 CEST 2009
Hi
If the environments for G4 are fixed correctly and compilation is OK, normally Gate executable is created in /bin/Darwin-g++/Gate ; with *.d and *.o in /tmp/Darwin-g++/Gate; but for execution on Mac-OS, the DYLD_LIBRARY_PATH must be shared for the lib(ROOTLIB, CLHEPLIB...) directories, instead of LD_LIBRARY_PATH
Please add in your env_gate.sh file, the following lines:
------------------------------------------
# Shared libraries for Mac
#
if test "X$G4SYSTEM" = "XDarwin-g++" ; then
if [ $G4LIB_BUILD_SHARED ] ; then
if [ $DYLD_LIBRARY_PATH ] ; then
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR}
if [ $G4LIB_BUILD_GDML ] ; then
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib
fi
export DYLD_LIBRARY_PATH
else
DYLD_LIBRARY_PATH=${G4LIB}/${G4SYSTEM}
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR}
if [ $G4LIB_BUILD_GDML ] ; then
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib
fi
export DYLD_LIBRARY_PATH
fi
fi
fi
-----------------------
That should work's compiling with this try...
Cheers,
Cheick
-----Message d'origine-----
De : gate-users-bounces at lists.healthgrid.org [mailto:gate-users-bounces at lists.healthgrid.org] De la part de Dendooven Peter
Envoyé : jeudi 18 juin 2009 11:40
À : gate-users at lists.healthgrid.org
Objet : Re: [Gate-users] installing Gate 4.0.0 on Mac OS X 10.4.11
Dear Cheick,
thanks for the input. Following your suggestion, the lib64 related
problem has gone away. Also, the lmf-related comments have
mysteriously disappeared. The make now runs without any messages.
However, typing "Gate" results in "Command not found".
The make process creates a /tmp/Darwin-g++/Gate directory with 758
items. In it is an exe directory containing Gate.d, Gate.o and
obj.last . I cannot see an executable called Gate on the whole of my
computer.
Do you have any idea of the present problem ?
Best wishes,
Peter
On 17 Jun 2009, at 16:21, THIAM Cheick 219838 wrote:
> Hello,
>
> I think that X11 installation on Mac-OS (10.4 or 10.5) does not
> contain lib64... Are you sure /usr/X11R6/lib64 dir exist in your
> installation? if it is not case, I suggest to comment line 99 in
> your variables.gmk file
>
> # LDFLAGS :=-L/usr/X11R6/lib64 $(LDFLAGS) ; and try again
>
> Hope this helps,
>
> Cheick
>
>
>
> -----Message d'origine-----
> De : gate-users-bounces at lists.healthgrid.org [mailto:gate-users-
> bounces at lists.healthgrid.org] De la part de Dendooven Peter
> Envoyé : mercredi 17 juin 2009 15:25
> À : gate-users at lists.healthgrid.org
> Objet : [Gate-users] installing Gate 4.0.0 on Mac OS X 10.4.11
>
> Dear all,
>
> after some trouble installing Gate 4.0.0 with Geant4.9.1.p03 on Mac
> OS X 10.4.11 (on an Intel-based MacBook), the make process seems to
> run fine until the following messages appear:
>
> Compiling Gate.cc ...
> Using granular libraries ...
> Linking Gate ...
> i686-apple-darwin8-g++-4.0.1: unrecognized option '-rdynamic'
> /usr/bin/ld: warning -L: directory name (/usr/X11R6/lib64) does not
> exist
> /lib) does not exist -L: directory name (/Applications/lmf_v3.0
> /lib) does not exist -L: directory name (/Applications/lmf_v3.0
> /usr/bin/ld: can't locate file for: -lLMF
> collect2: ld returned 1 exit status
> make: *** [bin/Darwin-g++/Gate] Error 1
>
> X11 was installed from the original Mac OS installation CD using the
> default installation process.
>
> Geant4.9.1.p03 and Root run fine on their own.
>
> Any help in solving this problem is appreciated. The GATE
> installation guide (version 3.1.2) is not clear to me in this respect.
>
> Best wishes,
> Peter Dendooven
>
> -----------------------------------
> Dr. Peter Dendooven
> KVI
> University of Groningen
> Zernikelaan 25
> 9747 AA Groningen
> the Netherlands
> tel.: +31 50 363 3615/3600
> fax: +31 50 363 4003
> e-mail: dendooven at kvi.nl
>
>
>
> _______________________________________________
> 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
More information about the Gate-users
mailing list