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

2012-12-20 Thread Martin Ouellet
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
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2012-12-20 Thread Martin Ouellet
*Compiling *
*GDAL **--with-pg=/usr/pgsql-9.2/bin/pg_config*
*and*
*Mapserver **--with-postgis=/usr/pgsql-9.2/bin/pg_config *
*solved my problem!*
*
*
*cheers*
*
*
*MartinO*


On Thu, Dec 20, 2012 at 10:08 AM, Martin Ouellet geomart...@gmail.comwrote:

 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

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users