[mapserver-users] Compiling Mapserver (6.2) with PostGIS support Without PG on the machine

Martin Ouellet geomartino at gmail.com
Thu Dec 20 07:08:37 PST 2012


Hi,

I want to compile Mapserver (6.2) on a RHEL5 64bit machine with PostGIS
support but Postgresql is NOT installed on the machine.

Before I run the compilation, I've have installed some libraries (with yum
rpm):
postgresql92.x86_64
postgresql92-libs.x86_64
postgresql92-devel.x86_64


I think the required libraries for the PostGIS support are
there because find / -name 'libpq*'
return
/usr/pgsql-9.2/lib/libpq.so.5
/usr/pgsql-9.2/lib/libpq.a
/usr/pgsql-9.2/lib/libpq.so
/usr/pgsql-9.2/lib/libpq.so.5.5
and more....

When I execute
* ./configure --prefix=/usr/local/ --with-gdal=/usr/local/bin/gdal-config
--with-ogr=/usr/local/bin/gdal-config
--with-curl=/usr/bin/curl-config[[BR]] --enable-debug
--with-proj=/usr/local/ --with-tiff=/usr/ --with-jpeg=/usr/local/
--with-freetype=/usr/local/ --with-threads
--with-xml2-config=/usr/bin/xml2-config --with-png=/usr/ --with-wmsclient
--with-wmsserver --with-wfs --with-wfsclient --with-gif=/usr/
--with-geos=/usr/local/bin/geos-config --with-postgis*
*
*
*I've got*
-------------- Data Format Drivers -------
  PostGIS support:
  ArcSDE support:
  OGR support:               -DUSE_OGR
  GDAL support:              -DUSE_GDAL
  Oracle Spatial support:

any idea?

MartinOuellet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121220/3223d2b9/attachment.html>


More information about the mapserver-users mailing list