Skip to content

mapnik-config parameters don't work with 2.0 #84

@pnorman

Description

@pnorman

d0dab6e (#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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions