[postgis-users] "--with-gdalconfig";

Martin Spott Martin.Spott at mgras.net
Tue Jun 7 15:59:36 PDT 2011


Hi Jorge,

Jorge Arévalo wrote:
> On Tue, Jun 7, 2011 at 5:49 PM, Martin Spott <Martin.Spott at mgras.net> wrote:
>> Martin Spott wrote:

>> BTW, on this custom setup with GDAL installed in '/opt/PostgreSQL/',
>> additionally to adding "/opt/PostgreSQL/bin" to $PATH, it's required to
>> set $LD_LIBRARY_PATH to "/opt/PostgreSQL/lib" and $PYTHONPATH to
>> "/opt/PostgreSQL/lib/python2.5/site-packages" in order to let configure
>> detect "GDAL Python bindings...".

> Mmm... can you execute /opt/PostgreSQL/bin/gdal-config --help? Could
> you send the whole configure output?

These are generated after the required environment had been set
accordingly - the compressed 'config.log':

  http://foxtrot.mgras.net/static/config.log.gz

and STDOUT:

  http://foxtrot.mgras.net/static/configure.log.gz

Do you want me to create more of them, with $PYTHONPATH,
$LD_LIBRARY_PATH or $PATH unset ?

'gdal-config --help' just returns the usual output - I'm uncertain if
this is what you're looking for:

foxtrot: 0:54:48 ~> /opt/PostgreSQL/bin/gdal-config --help
Usage: gdal-config [OPTIONS]
Options:
	[--prefix[=DIR]]
	[--libs]
	[--dep-libs]
	[--cflags]
	[--datadir]
	[--version]
	[--ogr-enabled]
	[--formats]


But this one for example looks quite reasonable:

foxtrot: 0:56:57 ~> /opt/PostgreSQL/bin/gdal-config --libs
-L/opt/PostgreSQL/lib -lgdal


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



More information about the postgis-users mailing list