[gdal-dev] compiling gdal with kml support

Paulo van Breugel p.vanbreugel at gmail.com
Sat Jul 28 06:24:15 PDT 2012


Hi,

I am on Ubuntu 12.04 and I am trying to compile gdal 1.9.1 with kml support
using the configuration below:

 ./configure --prefix=/usr/local/gdal1.9 --with-static-proj4
--with-png=internal --with-pcraster=internal --with-libtiff=internal
--with-geotiff=internal --with-jpeg=internal --with-gif=internal
--with-hdf4 --with-hdf5 --with-jasper --with-odbc --with-sqlite3
--with-spatialite --with-geos --with-python --with-ogdi --with-libkml=yes
CXXFLAGS=-fPIC CFLAGS=-fPIC CPPFLAGS=-fPIC

However, it does not seem to find the libkml libraries:

checking for Google libkml headers in /usr/include, /usr/include/kml, and
/usr/include/kml/third_party/boost_1_34_1... found
checking for Google libkml libraries... not found
checking for Google libkml... no

I do however have installed libkml0 an libkml-dev. E.g., libkmldom.so can
be found in /usr/lib/

Any clues?
 Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120728/55dd12f5/attachment.html>


More information about the gdal-dev mailing list