[Gdal-dev] Re: [GRASSLIST:8037] Order of ops for GRASS with GDAL
support install?
Markus Neteler
neteler at itc.it
Wed Aug 24 12:16:01 EDT 2005
On Wed, Aug 24, 2005 at 10:53:19AM +0200, Markus Neteler wrote:
> On Tue, Aug 23, 2005 at 02:55:50PM -0700, Jonathan Greenberg wrote:
> > BABA Yoshihiko has been doing a great job getting GDAL and GRASS working
> > under the fink package manager, but I'm noticing a slightly odd way of
> > getting GRASS with GDAL support -- am I correct in noticing there are
> > cyclical dependencies, e.g. You have to first compile gdal, then compile
> > grass with gdal support, then compile gdal with grass support? If this is
> > true, is there any way to get around this?
>
> I am doping this procedure:
>
> HOWTO compile GDAL/GRASS/GRASS-plugin:
> 1. compile GDAL without GRASS support (see ./conf_gdal.sh [1] )
> 2. compile GRASS itself (see ./conf_grass61_linux.sh [1] )
> 3. configure/compile/install GDAL/GRASS plugin (see ./conf_install_gdal_grass_plugin.sh [1])
> 4. link GRASS libs into /usr/local/lib/
> 5. run 'ldconfig' (as root)
>
> [1] http://mpa.itc.it/markus/useful/
>
Sorry: revised procedure (I just tested it on a "fresh" machine):
HOWTO compile OGR/GRASS/GRASS-plugin:
1. compile GDAL/OGR without GRASS support (see ./conf_gdal.sh )
2. compile GRASS itself (see ./conf_grass61_linux.sh )
3. link GRASS libs into /usr/local/lib/
4. run 'ldconfig' (as root)
5. run this script to configure/compile/install OGR/GRASS plugin
(may require root permissions)
Frank, we are looking forward to the unification of the GRASS drivers :-)
Markus
More information about the Gdal-dev
mailing list