Opened 14 years ago

Last modified 13 years ago

#22911 closed defect

gis/gdal: ogr2ogr malfunctions without XML Parser — at Version 1

Reported by: katzlbt (Dr. Thomas) Owned by: seanasy@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gdal

Description (last modified by mf2k (Frank Schima))

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}
}

Change History (1)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: seanasy@… removed
Description: modified (diff)
Keywords: gis gdal removed
Owner: changed from macports-tickets@… to seanasy@…
Note: See TracTickets for help on using tickets.