RES: [Mapserver-users] Compiling mapserver 4 with gdal + ogr + wfs suport

Sandro Danilo Gatti Gatti at cpqd.com.br
Fri Mar 12 08:39:49 EST 2004


Hello

now I get the following :

$  ./configure --with-proj --with-gdal --with-ogr=/usr/local/bin/gdal-config --with-wmsclient --with-wfsclient --with-wsm --with-wfs

...
checking whether we should include OGR support...
checking for OGRRegisterAll in -lgdal.1.1... (cached) no
configure: warning:         OGR not found in system libs... use --with-ogr=DIR.
checking if GDAL support requested... yes
checking if PostGIS support requested... no
checking if MyGIS support requested... no
checking if OracleSpatial support requested... no
checking if MING/Flash support requested... no
checking whether we should include WMS Server support...
        OGC WMS compatibility enabled (-DUSE_WMS_SVR).
checking whether we should include WFS Server support...
configure: error: OGC WFS Server support cannot be enabled: missing OGR which is required).

my gdal is configured as follows :

$ /usr/local/bin/gdal-config --libs
-L/usr/local/lib -lgdal
$ /usr/local/bin/gdal-config --ogr-enabled
yes
$ /usr/local/bin/gdal-config --formats
gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm sdts raw dted mem jdem envisat elas fit vrt usgsdem l1b nitf bmp pcidsk bsb gif jpeg png

Have I made any mistake compiling gdal? I don't know if it has something to with it, but I have not installed LibGeoTiff and LibTiff suport. Does OGR need them?

Thank you

-----------------------------------------
Sandro Danilo Gatti
Analista de Sistemas
CPqD Telecom & IT Solutions
Tel.: +55 19 3705-4420
gatti at cpqd.com.br
http://www.cpqd.com.br

|- Sandro Danilo Gatti wrote:
|- > Hello!
|- > 
|- > I'm trying to build mapserver 4.0 with WFS suport and so 
|- I've been using the following configure parameters (well, 
|- I've  also tried other configuration parameters, but they 
|- turned out the same) :
|- > 
|- > $ ./configure --with-proj --with-gdal 
|- --with-ogr=/usr/local/bin/ --with-wmsclient --with-wfsclient 
|- --with-wsm --with-wfs
|- > 
|- 
|- Try using --with-ogr=/usr/local/bin/gdal-config
|- 
|- Daniel
|- -- 
|- ------------------------------------------------------------
|-   Daniel Morissette               dmorissette at dmsolutions.ca
|-   DM Solutions Group              http://www.dmsolutions.ca/
|- ------------------------------------------------------------
|- 
|- 




More information about the mapserver-users mailing list