[GRASSLIST:1844] Re: Mac OS X - new GRASS 5.7cvs binaries

Christopher Fonnesbeck chris at fonnesbeck.org
Thu Nov 20 10:44:00 EST 2003


It prints "powerpc"

I will try your suggested fix. Thanks.

C.

On Nov 20, 2003, at 10:29 AM, Markus Neteler wrote:

> On Thu, Nov 20, 2003 at 10:05:18AM -0500, Christopher Fonnesbeck wrote:
>> I installed this binary (on a machine that has 5.0.2 working fine) and
>> got the following error  on startup:
>>
>> dyld: /usr/local/grass57-19_11_2003/etc/lock can't open library:
>> /grass57exp/dist.powerpc-apple-darwin6.8/lib/libgrass_gis.dylib  (No
>> such file or directory, errno = 2)
>> /usr/local/grass57-19_11_2003/etc/Init.sh: line 160:  4747 Trace/BPT
>> trap          "$ETC/lock" "$lockfile" $$
>> Unable to properly access /Users/chris/.gislock57
>>
>> Any ideas?
>
> Yes. We have to catch all HOSTTYPE values a Mac could have.
> So far "macintosh" and "powermac" are implemented.
>
> What does
>  echo  $HOSTTYPE
> print?
>
> For a quick solution edit
> /usr/local/grass57-19_11_2003/etc/Init.sh
> search for "powermac"  and add your HOSTTYPE there.
> Then it will work.
>
> Reason: Mac OSX uses DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH.
> At time your HOSTTYPE is not detected properly in the script.
> So please let us know your HOSTTYPE.
>
> Cheers
>
>  Markus
>
>> Chris
>>
>> On Nov 20, 2003, at 4:41 AM, Markus Neteler wrote:
>>
>>> Yesterday I have compiled new GRASS 5.7 binaries for
>>> Mac OSX. Now using shared libraries - the download
>>> package size is only 8 MB:
>>>
>>> http://mpa.itc.it/markus/grass57/macosx/
>>>
>>> Cheers
>>>
>>> -- 
>>> Markus Neteler     <neteler at itc.it>       http://mpa.itc.it
>>> ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
>>> MPBA - Predictive Models for Biol. & Environ. Data Analysis
>>> Via Sommarive, 18        -       38050 Povo (Trento), Italy
>>>
>>>
>>>
>> --
>> Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
>> Georgia Cooperative Fish & Wildlife Research Unit, University of 
>> Georgia
>
> -- 
> Markus Neteler     <neteler at itc.it>       http://mpa.itc.it
> ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
> MPBA - Predictive Models for Biol. & Environ. Data Analysis
> Via Sommarive, 18        -       38050 Povo (Trento), Italy
>
>
>
--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia




More information about the grass-user mailing list