Grass 5.3cvs and Grass 5.7cvs work in Mac OS X
You need some libraries from FINK:
Download FINK from (http://fink.sf.net)
Go to:
http://wwwamb.bologna.enea.it/forgrass/
and download grass53 and grass57 and other libraries
Read the INSTALL file
---
Note:
Now Grass 53cvs is complete.
There is one module important for me that it does not work: hdf import via GDAL. Now it's impossible to compile gdal cvs with hdf4.1r5 from Fink distribution.
Please an help
Grass57cvs is very young.
Postgresql module has an error when I compile: the only one.
--
________________________________________________________________________
|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it ||/|/| ENEA prot Web: http://wwwamb.bologna.enea.it/ || | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131
________________________________________________________________________
On Wed, Nov 19, 2003 at 11:10:57AM +0100, Lorenzo Moretti wrote:
Grass 5.3cvs and Grass 5.7cvs work in Mac OS X
You need some libraries from FINK:
Download FINK from (http://fink.sf.net)
Go to:
http://wwwamb.bologna.enea.it/forgrass/
and download grass53 and grass57 and other libraries
Read the INSTALL file
---
Note:
Now Grass 53cvs is complete.
There is one module important for me that it does not work: hdf
import via GDAL. Now it's impossible to compile gdal cvs with
hdf4.1r5 from Fink distribution.
Please an help
Please contact the GDAL developers for this.
Grass57cvs is very young.
Postgresql module has an error when I compile: the only one.
Please post the error, so that we can investigate the problem.
Markus Neteler
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@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
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?
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@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
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@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@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
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@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@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
On Thu, Nov 20, 2003 at 10:44:00AM -0500, Christopher Fonnesbeck wrote:
It prints "powerpc"
I will try your suggested fix. Thanks.
I have updated the package on my site:
http://mpa.itc.it/markus/grass57/macosx/
Hopefully that's it for a while...
M.
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@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@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@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
I installed this binary (on a machine that has grass 5.3 and gdal working fine) and got the following error on the startup of the graphical interface after choosing the location:
Any ideas?
GRASS 5.7.-cvs > Error in startup script: dyld: ps.map can't open library: ./libgdal.1.1.dylib (No such file or directory, errno = 2)
while executing
"exec ps.map -p"
(procedure "DmPrint::init" line 14)
invoked from within
"DmPrint::init"
(procedure "main" line 30)
invoked from within
"main $argc $argv"
(file "/usr/local/grass57-20_11_2003/etc/dm/d.m.tcl" line 789)
If I type from a consol:
./libgdal.1.1.dylib
I have Segmentation fault
Giacomo
p.s. thanks Markus fon the help installing 5.3
On Giovedì, nov 20, 2003, at 01:41 US/Pacific, 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@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
On Fri, Nov 21, 2003 at 12:22:15AM -0800, Giacomo wrote:
I installed this binary (on a machine that has grass 5.3 and gdal
working fine) and got the following error on the startup of the
graphical interface after choosing the location:
Any ideas?
GRASS 5.7.-cvs > Error in startup script: dyld: ps.map can't open
library: ./libgdal.1.1.dylib (No such file or directory, errno = 2)
while executing
"exec ps.map -p"
(procedure "DmPrint::init" line 14)
invoked from within
"DmPrint::init"
(procedure "main" line 30)
invoked from within
"main $argc $argv"
(file "/usr/local/grass57-20_11_2003/etc/dm/d.m.tcl" line 789)
Somehow the ./libgdal.1.1.dylib is not found. Does it have the same
name for grass 5.3? Say: check the name of the installed GDAL lib.
If it matches, there is a problem with DYLD_LIBRARY_PATH.
If I type from a consol:
./libgdal.1.1.dylib
I have Segmentation fault
sure - it is a library, not an executable. But this indicates that
the lib is existing (which path?).
Markus