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

Jorge Arévalo jorge.arevalo at deimos-space.com
Tue Jun 7 07:06:33 PDT 2011


On Tue, Jun 7, 2011 at 3:47 PM, Martin Spott <Martin.Spott at mgras.net> wrote:
> 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 !
> --------------------------------------------------------------------------
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>

Hi Martin,

You need to specify --with-raster too.

Best regards,

-- 
Jorge Arévalo
Internet & Mobilty Division, DEIMOS
jorge.arevalo at deimos-space.com
http://es.linkedin.com/in/jorgearevalo80
http://mobility.grupodeimos.com/
http://gis4free.wordpress.com
http://geohash.org/ezjqgrgzz0g



More information about the postgis-users mailing list