help with gml reader xerces

Danna Dowdy Danna.Dowdy at NOAA.GOV
Fri Jan 13 11:38:40 PST 2006


I even get this error when trying to use ogrinfo in the gdal 
distribution so the problem obviously goes back to gdal??

Kralidis,Tom [Burlington] wrote:

>This might have something to do with your path and whether gdal-config
>is in your PATH on your system.  When I build, I cite the paths, i.e.:
>
>./configure --enable-debug
>--with-freetype=/usr/local/bin/freetype-config --with
>-zlib=/usr/local/ --with-png=/usr/local/ --with-jpeg=/usr/local/
>--with-xpm=/usr
>/local/ --with-gd=/usr/local --with-pdf=/usr/local --with-eppl
>--with-proj=/usr/
>local --with-ogr=/usr/local/bin/gdal-config
>--with-gdal=/usr/local/bin/gdal-conf
>ig --without-tiff --with-postgis=/usr/local/pgsql/bin/pg_config
>--with-wfs --wit
>h-wcs --with-wmsclient --with-wfsclient
>--with-curl-config=/usr/local/bin/curl-c
>onfig --with-php=/usr/local/src/php/php-5.0.5
>
>Hope this helps.
>
>..Tom
>
>-----Original Message-----
>From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
>Behalf Of Danna Dowdy
>Sent: Friday, January 13, 2006 1:52 PM
>To: MAPSERVER-USERS at LISTS.UMN.EDU
>Subject: [UMN_MAPSERVER-USERS] help with gml reader xerces
>
>
>Apache error log:
>PHP Warning:  [MapServer Error]: msOGRFileOpen(): Open failed for OGR
>connection `/tmp/ms_tmp//11b0c7e4a83456a8a699b878cf95b349.tmp.gml'. File
>/tmp/ms_tmp//11b0c7e4a83456a8a699b878cf95b349.tmp.gml appears to be GML
>but the GML reader can't be instantiated, likely because Xerces support
>wasn't configured in.
>
>GDAL 1.3.1 configure options:
>-./configure --with-mrsid=/usr/local/Geo_DSDK-5.0.6.955 -with-xerces
>-with-ogr - with-xerces-lib="-L /usr/local/xerces-c-src_2_7_0/lib
>-lxerces-c
>-lpthread"--with-xerces-inc=/usr/local/xerces-c-src_2_7_0/include/xerces
>c 
>
>
>Mapserver 4.6.1 configure options:
>sudo ./configure --with-proj  --with-wmsclient  --with-libwww
>--with-gdal  --enable-runpath --with-php=../php-4.3.8  --with-gd
>--with-freetype=/usr/local --enable-internal-ld-detect --with-postgis
>--with-wfsclient --with-wfs --with-wcs
>--with-curl-config=/usr/local/curl-7.12.1/curl-config
>--with-tiff=/usr/local/tiff-3.7.1 --with-ogr 
>
>  
>



More information about the MapServer-users mailing list