[postgis-users] "--with-gdalconfig"; Was: How do you use PostGIS Raster?

Martin Spott Martin.Spott at mgras.net
Tue Jun 7 06:47:01 PDT 2011


Pierre Racine wrote:

> I'm preparing a presentation and I need some use cases for PostGIS
> Raster. I would be grateful if people already using the raster side of
> PostGIS would describe what they already do it.

Inspired by this call I started aiming at using PostGIS Raster for
my/our project. While trying to build PostGIS with raster support, I
noticed that declaring "--with-gdalconfig=..." with 'configure' didn't
work as expected (Linux Debian 5/Lenny on AMD64).
GDAL 1.8.0 is installed alongside with PostgreSQL, PROJ.4 4.7.0 and
GEOS 3.3.0 in /opt/PostgreSQL/. I've downloaded the 'postgis-2.0.0SVN'
snapshot as of revision 7325 (which is pretty close to current head).

I'm calling 'configure' with:

  --with-gdalconfig=/opt/PostgreSQL/bin/gdal-config

.... which is present:

foxtrot: 15:31:36 /usr/local/src/postgis-2.0.0SVN> ls -l /opt/PostgreSQL/bin/gdal-config
-rwxr-xr-x 1 martin users 1365 Jun  6 23:30 /opt/PostgreSQL/bin/gdal-config


.... but the check "checking for GDAL >= 1.6.0..." fails with "not
found". Adding the directory "/opt/PostgreSQL/bin" to the $PATH helps.
There is no other 'gdal-config' in the $PATH.

Cheers,
	Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------



More information about the postgis-users mailing list