[MacPorts] #22911: gis/gdal: ogr2ogr malfunctions without XML Parser
MacPorts
noreply at macports.org
Wed Dec 16 06:14:34 PST 2009
#22911: gis/gdal: ogr2ogr malfunctions without XML Parser
-------------------------------+--------------------------------------------
Reporter: katzlbt@… | Owner: seanasy@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: gdal
-------------------------------+--------------------------------------------
Changes (by macsforever2000@…):
* cc: seanasy@… (removed)
* keywords: gis gdal =>
* owner: macports-tickets@… => seanasy@…
Old description:
> 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}
> }
New description:
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#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list