[Mapserver-users] Compile Mapserver 4.0.1 - gdal-1.1.9

Daniel Morissette dmorissette@dmsolutions.ca
Tue, 18 May 2004 09:30:25 -0400


Rolando Riley wrote:
> Hello Guys:
>    I have been following your directions to compile mapserver with support
> to OGR.  Each time I try to do it I get this error.  What is wrong?
> 
> 
> -----------
> #
> ./configure --with-httpd=/usr/sbin/httpd --with-gdal=/usr/local/bin/gdal-con
> fig --with-proj=/usr/ --with-tiff=/usr --with-ogr=/home/rriley/gdal-1.1.9/og
> r/ --with-wfs --with-wfsclient
> 
> 

The problem may be related to your attempt to use of two different 
versions of GDAL in your build:

     --with-gdal=/usr/local/bin/gdal-config
     --with-ogr=/home/rriley/gdal-1.1.9/ogr/

Since OGR is part of GDAL, you need to point both to the same location, 
or specify the location in only one of the two options and the other one 
will follow, e.g.

     --with-gdal=/usr/local/bin/gdal-config --with-ogr

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users