[ gpsdrive ] Ubuntu svn dependencies

Hamish hamish_b at yahoo.com
Mon Aug 11 22:43:47 AKDT 2008


stan wrote:
> Going through mapnik again, getting this:
> Checking for C library iconv... no

In Debian stable /usr/bin/iconv is in the libc6 package, and
/usr/include/iconv.h is in libc6-dev. I would be rather surprised
if those were not installed. (??)

> Checking for C library pq... yes
> Checking for C++ library gdal... no
> Apt says all the libgdal dev packages are in, could this be
> anything to do with it?

DebianGIS packages libgdal with version number in the library (like
libgdal1.5.0.so), so `gdal-config --libs` should be used in the configure
script to get the lib name instead of hardcoding -lgdal.
The gdal-config program comes in the libgdal1-dev package.

You can add new version numbers into cmake/Modules/FindGDAL.cmake, but
really we should adjust the script to use gdal-config to find that
automatically. I don't know enough about cmake to fix it myself.

see what you have with "gdal-config --libs" or "locate /usr/lib/libgdal".
then edit gpsdrive/cmake/Modules/FindGDAL.cmake as needed.

But I doubt any GDAL issue is slowing you down much.


Hamish



      



More information about the GPSdrive mailing list