[MacPorts] #22911: gis/gdal: ogr2ogr malfunctions without XML Parser

MacPorts noreply at macports.org
Wed Dec 16 02:11:26 PST 2009


#22911: gis/gdal: ogr2ogr malfunctions without XML Parser
-------------------------------+--------------------------------------------
 Reporter:  katzlbt@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.8.1                                
 Keywords:  gis gdal           |        Port:  gdal                                 
-------------------------------+--------------------------------------------
 ogr2ogr fails to convert XML based input files for lack of a XML parser
 library built in. The error message by ogr2ogr is cryptic and does not
 point to the problem.

 I strongly suggest to build gdal by default --with-expat !
 Expat seems to be used with many other ports so the impact of a default=ON
 should be low. xerces currently fails to build so expat is the choice.

 variant kmlgpx description {Enable XML (KML and GPX) conversions via expat
 library.} {
         depends_lib-append              port:expat
         configure.args-delete   --without-expat
         configure.args-append   --with-expat=${prefix}
 }

-- 
Ticket URL: <http://trac.macports.org/ticket/22911>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list