Re: [ROOT] Fink package of ROOT 3.04.02 for Mac OS X

From: Remi Mommsen (Remigius.Mommsen@cern.ch)
Date: Wed Apr 02 2003 - 20:10:21 MEST


Hi Manuel,

On Wednesday, April 2, 2003, at 06:27  AM, Manuel Bardiès wrote:

> OK, root/Fink seems to work.
> I have a concern, though:
> I (try to) use a code which is based on Geant, and that makes use of  
> dylibs.
> when I try to run it I've got:
> can't open library: libCore.dylib
> Is there a work around?
> You mentioned that those libs are now hardcoded...
> Well, this goes beyond my knowledge...
> Any hint?

As your geant application is probably compiled without using hard coded  
paths (done with the ld flag -install_name  
<full_path_to_the_install_location>) you have to set the  
DYLD_LIBRARY_PATH to /sw/lib/root in order to tell geant where to look  
for the root libs.

Cheers,
		Remi


> Le mardi, 1 avr 2003, à 19:24 Europe/Paris, Remi Mommsen a écrit :
>
>> Hi Manuel,
>>
>> On Monday, March 31, 2003, at 11:16  PM, Manuel Bardiès wrote:
>>
>>> Congratulations Remi, this definitely will help Mac users.
>>> One question, though:
>>> I already have a root version running on my TiBook.
>>> What should I remove before I install the Fink version?
>>> I know that since Fink packages live in the /sw directory, I should  
>>> not worry too much, but...
>>
>> Root follows the fink policy and installs everything under /sw. As  
>> the library path is hardcoded into the root executable built by fink,  
>> it is not necessary to set $ROOTSYS or $DYLD_LIBRARY_PATH. Therefore  
>> you can just leave your old root version on your disk and just unset  
>> the both environments and remove the $ROOTSYS/bin from your PATH.  
>> Then you should pick up the root from fink which gets installed into  
>> /sw/bin.
>>
>>> Any chance to see Geant as a Fink package?
>>
>> Well, the chance is sure not zero, but I'm not actively using geant.  
>> I suppose you ask for geant4? I have also a request for CERNLIB,  
>> especially PAW. However, this is a hard piece and I'm not sure if I  
>> manage to pack it up for fink.
>>
>>> Once again, thank you,
>>
>> You're very welcome.
>>
>> Cheers,
>> 		Remi
>>
>>
>>> Manuel
>>>
>>> Le lundi, 31 mars 2003, à 20:22 Europe/Paris, Remi Mommsen a écrit :
>>>
>>>> Hi,
>>>>
>>>> Root is now available as fink package (http://fink.sf.net) for Mac  
>>>> OS X. It is based on the production release 3.04.02. If you like to  
>>>> use it, you have to enable the unstable tree of fink (see  
>>>> http://fink.sourceforge.net/faq/usage-fink.php#unstable). Please  
>>>> let me know if you encounter any problems. If it works well for  
>>>> you, let me know, too. Then the root package can move to the stable  
>>>> tree which makes it more easy to access.
>>>>
>>>> In order to make the root package conforming to the fink policy, I  
>>>> had to enable the versioning of the root libraries. The standard  
>>>> versioning implemented in the root makefiles adds the versioning  
>>>> information at the end of the libraries, i.e. libCore.so.3.04. On  
>>>> Mac OS X all libraries have the version before the extension, i.e.  
>>>> libCore.3.04.so (in contrast to Linux where both versions are  
>>>> common). I changed the makefiles to produce the latter format and  
>>>> tested them both on Mac OS X and Linux RH 7.2. I attach the patch  
>>>> file (against the current CVS version) in case that you'll like to  
>>>> incorporate this change into the ROOT CVS.
>>>>
>>>> Cheers,
>>>> 		Remi
>>>>
>>>>
>>>> <soversion.patch>
>>>> -------------------------------------------------------------------- 
>>>> -
>>>> A dream is just a dream.
>>>> A goal is a dream with a plan and a deadline.
>>>>
>>>> ******************************************************************** 
>>>> *
>>>> Remigius K. Mommsen                 e-mail:  
>>>> mommsen@slac.stanford.edu
>>>> University of California, Irvine       URL:     
>>>> http://cern.ch/mommsen
>>>> c/o SLAC                             voice:        ++1 (650)  
>>>> 926-3595
>>>> 2575 Sand Hill Road #35             mobile:        ++1 (650)  
>>>> 387-1402
>>>> Menlo Park, CA 94025, US               fax:        ++1 (650)  
>>>> 926-8522
>>>> ******************************************************************** 
>>>> *
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> Intelligence is like a four-wheel drive vehicle: it allows you to get
>> stuck in much more remote places.
>>
>> *********************************************************************
>> Remigius K. Mommsen                 e-mail: mommsen@slac.stanford.edu
>> University of California, Irvine       URL:    http://cern.ch/mommsen
>> c/o SLAC                             voice:        ++1 (650) 926-3595
>> 2575 Sand Hill Road #35             mobile:        ++1 (650) 387-1402
>> Menlo Park, CA 94025, US               fax:        ++1 (650) 926-8522
>> *********************************************************************
>>
>
>


---------------------------------------------------------------------
"Sometimes I think the surest sign that intelligent life exists else-
where in the universe is that none of it has tried to contact us."
                                               Calvin (Bill Watterson)

*********************************************************************
Remigius K. Mommsen                 e-mail: mommsen@slac.stanford.edu
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35             mobile:        ++1 (650) 387-1402
Menlo Park, CA 94025, US               fax:        ++1 (650) 926-8522
*********************************************************************



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET