[GRASSLIST:1639] Re: Error to compile r.in.gdal on MacX for grass 5.3
Markus Neteler
neteler at itc.it
Sat Nov 1 05:53:01 EST 2003
On Fri, Oct 31, 2003 at 03:15:51PM -0800, Giacomo wrote:
>
>
> Hy, I'm still trying to install r.in.gdal in GRASS 5.3 on MacX, even if
> I've done some progress.
> I really need r.in.gdal in order to import quickly USGS SDTS DEMs.
>
> Now I'm able to install gdal from cvs using the useful tutorial "Grass
> v.5.7 installation on Mac OS X" made by Fabrizio Zanotti
> (fabrizio.zanotti at ing.unitn.it).
> I've downloaded the current version of Gdal-cvs package
> (gdal-cvs-YYMMDD.tar.gz ) from the gdal ftp site,
> ftp://ftp.remotesensing.org/gdal/daily, and used a configuration script
> like:
>
> #!/bin/sh
> # script to compile GDAL on Mac OSX
> # Markus Neteler and Fabrizio Zanotti
> # 10/2003
> # what to do in case of user break:
> function exitprocedure()
> {
> echo "User break!"
> exit
> }
> # shell check for user break (signal list: trap -l)
> #trap "exitprocedure" 2 3 15
> #add for GRASS libgrass support:
> export CPPFLAGS="-I/usr/local/pgsql/include/"
> # libgrass support:
> ./configure --without-python \
> --with-grass \
This should be
--with-grass=no
to avoid problems (otherwise you also need libgrass and gdal with libgrass
compiled into.
Markus
More information about the grass-user
mailing list