[Tile-serving] [mod_tile] mapnik-config parameters don't work with 2.0 (#84)

Paul Norman notifications at github.com
Mon Jul 21 03:39:52 UTC 2014


d0dab6e8ff20f089b509e8772f67e3352b019bc5 (#83) introduced getting Mapnik's dependencies with ``$MAPNIK_CONFIG --dep-includes``. The problem is, this doesn't seem to exist with Mapnik 2.0, where this output is generated in the Makefile

```make
MAPNIK_CFLAGS = -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -DHAVE_JPEG -DBOOST_REGEX_HAS_ICU -ansi -Wall -pthread -ftemplate-depth-300 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O3 -finline-functions -Wno-inline -DNDEBUG -DLIBTOOL_SUPPORTS_ADVISE -DHAVE_LIBXML2
MAPNIK_CONFIG = /usr/local/bin/mapnik-config
MAPNIK_INCLUDES =  Usage: mapnik-config [OPTION]
 
Known values for OPTION are:
 
  --prefix          display mapnik prefix [default /usr/local]
  --prefix=DIR      change mapnik prefix [default /usr/local]
  --libs            print library linking information
  --dep-libs        print library linking information for mapnik depedencies
  --ldflags         print library paths (-L) information
  --cflags          print pre-processor and compiler flags
  --fonts           print default fonts directory
  --input-plugins   print default input plugins directory
  --json            print all config options as json object
  --help            display this help and exit
  -v --version      output version information
  --git-revision    output git hash
MAPNIK_LDFLAGS = -L/usr/local/lib -lmapnik
MAPNIK_VERSION = 2.0.3-pre
```

Reported via IRC for someone following switch2osm with Ubuntu 12.04.


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/84
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140720/ffcdb8b3/attachment-0001.html>


More information about the Tile-serving mailing list