[postgis-users] configure error: could not find gdal
simon.ortet at gmail.com
Wed Apr 18 01:47:43 PDT 2012
Thanks for your answer Mike, I would definitely prefer to have my postgis
with raster support.
Now i'm not sure why I'd need to install the libgdal-dev package (which is
version 1.6 on debian squeeze) when I've already built and installed gdal
1.9 from source. I never had to install that package when installing
previous postgis versions.
2012/4/18 Mike Toews <mwtoews at gmail.com>
> On 18 April 2012 20:32, Simon Ortet <simon.ortet at gmail.com> wrote:
> > Hi,
> > I'm trying to install postgis 2.0 from source and I get this error when
> > running "./configure --with-pgconfig=/usr/local/pgsql/bin/pg_config":
> > RASTER: Raster support requested
> > checking for GDAL >= 1.6.0... found
> > checking gdal.h usability... yes
> > checking gdal.h presence... yes
> > checking for gdal.h... yes
> > checking ogr_api.h usability... yes
> > checking ogr_api.h presence... yes
> > checking for ogr_api.h... yes
> > checking cpl_conv.h usability... yes
> > checking cpl_conv.h presence... yes
> > checking for cpl_conv.h... yes
> > checking for library containing GDALAllRegister... no
> > configure: error: could not find gdal
> > I tried with "--with-gdalconfig=/usr/local/bin/gdal-config" parameter as
> > well (although /usr/local/bin is in the path anyways) with the same
> > I'm running a Debian 6.0.4 64bits.
> > GDAL is installed from source and gdal-config is in the path. A
> > --version" command returns "1.9.0"
> > Could it be that my gdal is missing something? Any idea?
> Your two options is to install GDAL:
> sudo apt-get install libgdal-dev
> Or configure without gdal:
> ./configure --without-raster
> postgis-users mailing list
> postgis-users at postgis.refractions.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users