Problem with mod_tile, "make" doesn't work


I’m trying to build a tile server. I used the tutorial on and tutorials available on
I installed Mapnik and so on but now I have a problem installing mod_tile.
My operating system is 12.04.4 LTS.
To install mod_tile, I did the following:

git clone git://
cd mod_tile

But, if I use “make” there is the following error:

Here is an extract of the autogenerated Makefile (line 337 is:" --prefix display mapnik prefix [default /usr/local]")

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

Anybody has an idea, what could be the problem?