Opened 12 years ago

Closed 12 years ago

#4837 closed defect (invalid)

ogr kml on ubuntu 12.04 - configure fails?

Reported by: darkblueb Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

Ubuntu 'precise' 12.04

install package libkml-dev

gdal trunk, configure --with-libkml

config.log shows:

configure:23741: g++ -o conftest -g -O2  -I/usr/include -I/usr/include/kml -I/usr/include/kml/third_party/boost_1_34_1  conftest.cpp -lexpat -lxerces-c -lpthread -ljasper -lnetcdf -lhdf5 -lmfhdfalt -ldfalt -lgif -ljpeg -lpng -L/usr/lib -lpq -lz -lpthread -lm -lrt -ldl  -lkmldom -lkmlbase -lkmlengine -lkmlconvenience -lminizip -luriparser >&5
/usr/bin/ld: cannot find -luriparser

and on the command line

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
config.status: WARNING:  'GDALmake.opt.in' seems to ignore the --datarootdir setting
  Google libkml support:     no

Change History (1)

comment:1 by Even Rouault, 12 years ago

Resolution: invalid
Status: newclosed

According to http://packages.ubuntu.com/precise/libkml-dev , precise ships with libkml 1.2. GDAL needs libkml trunk, so you must compile it from its latest SVN sources.

Note: See TracTickets for help on using tickets.