Opened 15 years ago
Last modified 14 years ago
#22911 closed defect
gis/gdal: ogr2ogr malfunctions without XML Parser — at Initial Version
Reported by: | katzlbt (Dr. Thomas) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | seanasy@… | |
Port: | gdal |
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}
}
Note: See
TracTickets for help on using
tickets.