[Gate-users] OS X 10.6.3 Snow Leopard

Franck Vidal franck.p.vidal at gmail.com
Tue Jun 1 21:38:06 CEST 2010


Hi there,

Snow Leopard can be using 32 or 64bits programs without any problem.

However, to compile a program, you cannot mix both 32 and 64 bits
libraries (which is what has been done according to the error
messages).
You have to choose either to compile everything in 32 bits or 64 bits.

Personally, I run Fink in 32 bits, so I compiled geant4 and co in 32
bits, you can use the -32 option for gcc.

Hope it helps,

Franck



On 1 June 2010 12:33, Eunsin Lee <elee at fnal.gov> wrote:
> Hi Uwe,
>
> This is not the case.
> I got new macbook pro (core i5) with snow leopard last week.
> I downloaded all other sources and built them in.
> Here what I installed:
>
> CLHEP 2.0.4.2
> ROOT 5.17
> GEANT 4.9.2.p03
> GATE 6.0_p01
>
> when installing geant I followed the instruction on GATE web, adding option build shared library.
> Hmm...
>
> Thanks a lot again,
>
> Eunsin
>
> ########################################
> Eunsin Lee
> Doctoral Student of Physics
> Texas A&M University
> CDF and CMS Collaborations
> elee at fnal.gov
> 979-845-7899
> ########################################
>
> ----- Original Message -----
> From: Uwe Pietrzyk <u.pietrzyk at fz-juelich.de>
> Date: Tuesday, June 1, 2010 3:18 pm
> Subject: Re: [Gate-users] OS X 10.6.3 Snow Leopard
> To: Eunsin Lee <elee at fnal.gov>
> Cc: gate-users at lists.opengatecollaboration.org
>
>> Hi Eunsin,
>>
>> it looks a bit that you are mixing libraries compiled and linked
>> under 32 and 64 bit. In case you upgraded from a former
>> Leopard 32bit system and now are running SnowLeopard,
>> you need to recompile the whole bunch of programs, starting
>> from CLHEP, etc. and ending with gate.
>>
>> Hope this comes closer to a solution.
>>
>> Kind regards,
>>
>> Uwe Pietrzyk
>> -----
>> On 01.06.2010, at 19:25, Eunsin Lee wrote:
>>
>> > Hi Uwe,
>> >
>> > I set as:
>> > export PATH=$PATH:$GATEHOME/bin/Darwin-g++
>> >
>> > But still got the same errors...
>> > Any other ideas?
>> >
>> > Thanks so much,
>> > Eunsin
>> >
>> > ########################################
>> > Eunsin Lee
>> > Doctoral Student of Physics
>> > Texas A&M University
>> > CDF and CMS Collaborations
>> > elee at fnal.gov
>> > 979-845-7899
>> > ########################################
>> >
>> > ----- Original Message -----
>> > From: Uwe Pietrzyk <u.pietrzyk at fz-juelich.de>
>> > Date: Tuesday, June 1, 2010 12:07 pm
>> > Subject: Re: [Gate-users] OS X 10.6.3 Snow Leopard
>> > To: Eunsin Lee <elee at fnal.gov>
>> >
>> >> Hi Eunsin,
>> >>
>> >> did you add  something like
>> >>
>> >> setenv PATH "${PATH}:${GATEHOME}/bin/Darwin-g++"
>> >>
>> >> in your .cshrc or .bashrc, ... ?
>> >>
>> >> I remember that I had to add this line, otherwise the shared
>> libraries
>> >> were not found.
>> >>
>> >> Hope this helps!
>> >>
>> >> Kind regards,
>> >>
>> >> Uwe Pietrzyk
>> >> -----
>> >> On 01.06.2010, at 17:55, Eunsin Lee wrote:
>> >>
>> >>> Hi Uwe and all who kindly replied,
>> >>>
>> >>> At the end of installing process, the same error message showing up:
>> >>>
>> >>> =====
>> >>> Creating shared library tmp/Darwin-g++/Gate/libGate.dylib ...
>> >>> ld: warning: in GateARFDataToRoot.o, file was built for i386 which
>>
>> >> is not the architecture being linked (x86_64)
>> >>> ld: warning: in GateARFDataToRootMessenger.o, file was built for
>> >> i386 which is not the architecture being linked (x86_64)
>> >>> ld: warning: in GateARFSD.o, file was built for i386 which is not
>>
>> >> the architecture being linked (x86_64)
>> >>> ld: warning: in GateARFSDMessenger.o, file was built for i386
>> which
>> >> is not the architecture being linked (x86_64)
>> >>> ld: warning: in GateARFTable.o, file was built for i386 which is
>> not
>> >> the architecture being linked (x86_64)
>> >>> ld: warning: in GateARFTableMgr.o, file was built for i386 which
>> is
>> >> not the architecture being linked (x86_64)
>> >>> ld: warning: in GateARFTableMgrMessenger.o, file was built for
>> i386
>> >> which is not the architecture being linked (x86_64)
>> >>> .
>> >>> .
>> >>> .
>> >>> ld: symbol(s) not found
>> >>> collect2: ld returned 1 exit status
>> >>> make: *** [bin/Darwin-g++/Gate] Error 1
>> >>> =====
>> >>> ########################################
>> >>> Eunsin Lee
>> >>> Post Doctoral Research Associate
>> >>> PET Imaging Group
>> >>> University of Pennsylvania
>> >>> elee at fnal.gov
>> >>> 979-574-7235
>> >>> ########################################
>> >>>
>> >>> ----- Original Message -----
>> >>> From: Uwe Pietrzyk <u.pietrzyk at fz-juelich.de>
>> >>> Date: Tuesday, June 1, 2010 10:59 am
>> >>> Subject: Re: [Gate-users] OS X 10.6.3 Snow Leopard
>> >>> To: Eunsin Lee <elee at fnal.gov>
>> >>> Cc: gate-users at lists.opengatecollaboration.org
>> >>>
>> >>>> Hi Eunsin,
>> >>>>
>> >>>> this is what I successfully use to run GATE on my MacBook Pro
>> >>>> under Mac OS X (10.6.3):
>> >>>>
>> >>>> CLHEP 2.0.3.2
>> >>>> geant4.9.2.p03
>> >>>> root 5.24
>> >>>> gate_v6.0_p01
>> >>>>
>> >>>> (I am not using lmf_v3.0)
>> >>>>
>> >>>> Hope this helps.
>> >>>>
>> >>>> Kind regards,
>> >>>>
>> >>>> Uwe Pietrzyk
>> >>>> -----
>> >>>> On 01.06.2010, at 15:36, Eunsin Lee wrote:
>> >>>>
>> >>>> Dear all,
>> >>>>
>> >>>> Has anyone ever successfully built GATE on mac OS X 10.6.3 snow leopard?
>> >>>> If so what versions of geant should I install?
>> >>>>
>> >>>> Thanks,
>> >>>> Eunsin
>> >>>>
>> >>>> ########################################
>> >>>> Eunsin Lee
>> >>>> Doctoral Student of Physics
>> >>>> Texas A&M University
>> >>>> CDF and CMS Collaborations
>> >>>> elee at fnal.gov<
>> >>>> 979-845-7899
>> >>>> ########################################
>> >>>> _______________________________________________
>> >>>> Gate-users mailing list
>> >>>> Gate-users at lists.opengatecollaboration.org
>> >>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>> >>>>
>> >>>> /----------------------------------------------------------------------
>> >>>> Prof. Dr. Uwe Pietrzyk
>> >>>> Diplom-Physiker
>> >>>> Institut für Neurowissenschaften und Medizin / INM-1
>> >>>> Forschungszentrum Jülich GmbH
>> >>>> 52425 Jülich
>> >>>> Tel: +49-2461-61 4763
>> >>>> Fax: +49-2461-61 2820 + 8229
>> >>>> Mobil: +49-162-103-4871
>> >>>> eMail: U.Pietrzyk at fz-juelich.de<
>> >>>>
>> >>>> &
>> >>>> Bergische Universität Wuppertal
>> >>>> Fachbereich C - Physik / D.08.01
>> >>>> Gaußstr. 20
>> >>>> 42097 Wuppertal
>> >>>> Tel: +49-(0)202-439-3523
>> >>>> Fax: +49-(0)202-439-2811
>> >>>> eMail: Uwe.Pietrzyk at physik.uni-wuppertal.de<
>> >>>>
>> >>>> ----------------------------------------------------------------------/
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------------------------
>> >>>> ------------------------------------------------------------------------------------------------
>> >>>> Forschungszentrum Juelich GmbH
>> >>>> 52425 Juelich
>> >>>> Sitz der Gesellschaft: Juelich
>> >>>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> >>>> Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
>> >>>> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
>> >>>> Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> >>>> Prof. Dr. Sebastian M. Schmidt
>> >>>> ------------------------------------------------------------------------------------------------
>> >>>> ------------------------------------------------------------------------------------------------
>> >>
>> >> /----------------------------------------------------------------------
>> >> Prof. Dr. Uwe Pietrzyk
>> >> Diplom-Physiker
>> >> Institut für Neurowissenschaften und Medizin / INM-1
>> >> Forschungszentrum Jülich GmbH
>> >> 52425 Jülich
>> >> Tel: +49-2461-61 4763
>> >> Fax: +49-2461-61 2820 + 8229
>> >> Mobil: +49-162-103-4871
>> >> eMail: U.Pietrzyk at fz-juelich.de
>> >> http://www.fz-juelich.de/inm
>> >> &
>> >> Bergische Universität Wuppertal
>> >> Fachbereich C - Physik / D.08.01
>> >> Gaußstr. 20
>> >> 42097 Wuppertal
>> >> Tel: +49-(0)202-439-3523
>> >> Fax: +49-(0)202-439-2811
>> >> eMail: Uwe.Pietrzyk at physik.uni-wuppertal.de
>> >> http://www.medizinphysik.uni-wuppertal.de
>> >> ----------------------------------------------------------------------/
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>>
>> /----------------------------------------------------------------------
>> Prof. Dr. Uwe Pietrzyk
>> Diplom-Physiker
>> Institut für Neurowissenschaften und Medizin / INM-1
>> Forschungszentrum Jülich GmbH
>> 52425 Jülich
>> Tel: +49-2461-61 4763
>> Fax: +49-2461-61 2820 + 8229
>> Mobil: +49-162-103-4871
>> eMail: U.Pietrzyk at fz-juelich.de
>> http://www.fz-juelich.de/inm
>> &
>> Bergische Universität Wuppertal
>> Fachbereich C - Physik / D.08.01
>> Gaußstr. 20
>> 42097 Wuppertal
>> Tel: +49-(0)202-439-3523
>> Fax: +49-(0)202-439-2811
>> eMail: Uwe.Pietrzyk at physik.uni-wuppertal.de
>> http://www.medizinphysik.uni-wuppertal.de
>> ----------------------------------------------------------------------/
>>
>>
>>
>>
>>
>>
>>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>



-- 
Dr Franck P. Vidal
Postdoctoral Research Fellow

Department of Radiation Oncology
University of California, San Diego
Moores Cancer Center, Rm 1410
3855 Health Sciences Dr. #0843
La Jolla, CA 92093-0843
Tel: (858)822-7499
Fax: (858)822-6078
Homepage: http://pagesperso-orange.fr/f-p.v/


More information about the Gate-users mailing list