Sorry, I sent from the wrong e-mail address so the list didn't accept it. <br><br><span class="q" id="q_114d722a8f2cdabc_0"><div>Hey
Mateusz, thanks for looking into it. I did just today, finally get
Gdal compiled with Xerces. I just had to find the right jumble of
options. Unfortunately, I wasn't as close as I thought. The whole
point for me is to use this program FeatureServer, which provides WFS
data to OpenLayers, a javascript mapping application. <br><br>So, just in case you or anyone are interested, I did get Xerces working:<br>[root@niceguy ogr]# ./ogrinfo wfs.gml<br>Had to open data source read-only.<br>INFO: Open of `wfs.gml'
<br> using driver `GML' successful.
<br>1: GIS<br><br>Unfortunately, my FeatureServer request returns an error:<br><pre>An error occurred: libxerces-c.so.27: cannot open shared object file: No such file or directory</pre><br>So,
I run /sbin/ldconfig to reload shared libraries. FeatureServer does
indeed recognize the library now, but returns the original error that
OGR cannot read the GML result. So, I check my ogrinfo again, and
apparently xerces is not installed....
<br><br>So here's my whole routine. If I run make install from gdal
directory, the ogrinfo command-line once again recognizes gml input,
but the shared libraries cannot be loaded for my FeatureServer.<br><br>[root@niceguy
ogr]# ./ogrinfo wfs.gml<br>Had to open data source read-only.<br>INFO: Open of `wfs.gml'<br> using driver `GML' successful.<br>1: GIS<br>[root@niceguy ogr]# /sbin/ldconfig<br>[root@niceguy ogr]# ./ogrinfo wfs.gml
<br>ERROR 1: Unable to create Xerces C++ based GML reader, Xerces support<br>not configured into GDAL/OGR.<br>ERROR 1: File wfs.gml appears to be GML but the GML reader can't<br>be instantiated, likely because Xerces support wasn't
<br>configured in.<br>FAILURE:<br>Unable to open datasource `wfs.gml' with the following drivers.<br> -> ESRI Shapefile<br> -> MapInfo File<br> -> UK .NTF<br> -> SDTS<br> -> TIGER<br> -> S57<br>
-> DGN<br> -> VRT<br> -> AVCBin<br> -> REC<br> -> Memory<br> -> CSV<br> -> GML<br> -> KML<br> -> PostgreSQL<br><br>Pretty bizarre if you ask me, now I have even less of a clue what to do than before!
<br><br>Thanks again for looking into that. If anyone has any random ideas or suggestions, I'd be happy to hear them.<br><span></span></div>-Ed</span>