[GRASSLIST:4105] Re: r.in.gdal question

Kevin Slover kevin.slover at noaa.gov
Fri Jul 19 11:20:56 EDT 2002


Is there a way to check if you are installing with the "with-gdal" option??
I have ran configure with pre5 as follows:

./configure --without-postgres --without-fftw --with-gdal

Looks correct??


Glynn Clements wrote:

> Kevin Slover wrote:
>
> > Alrighty, got it working, somewhat.  Realized why gdal wasn't installed,
> > and simply recompiled with the --with/--without flags as needed.  And of
> > course, after all that, the format that I need to use (.kap) is not
> > supported, or at least the version that I have..interesting...anyhow,
> > thanks for all the help out there...
>
> Note that the treatment of the --with-gdal flag is different to most
> of the other --with-* flags.
>
> If you specify --with-gdal, r.in.gdal includes gdal.h, and links
> directly against libgdal, as is the case for other libraries.
>
> Without the --with-gdal switch, r.in.gdal includes gdalbridge.h (which
> is part of the r.in.gdal source code), and doesn't link against
> libgdal; instead, it loads libgdal at run-time using dlopen().
>
> --
> Glynn Clements <glynn.clements at virgin.net>

--
LTJG Kevin Slover, NOAA
GIS Specialist/Meteorologist/Oceanographer
Tropical Prediction Center/Technical Support Branch
11691 SW 17th Street Miami FL 33165
(W) 305-229-4456  (F) 305-553-1264




More information about the grass-user mailing list