mapnik-config: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/mapnik-config - from package: libmapnik-dev

You may install the required package with command apt-get install {package}
Error in other languages:
mapnik-config: bevel nie gevind nie
mapnik-config: comandă negăsită
mapnik-config: comando não encontrado
mapnik-config: commande introuvable
mapnik-config: command not found
mapnik-config: käsku ei ole
mapnik-config: không tìm thấy lệnh
mapnik-config: komanda nerasta
mapnik-config: Kommando nicht gefunden.
mapnik-config: kommandot finns inte
mapnik-config: komut yok
mapnik-config: nie znaleziono polecenia
mapnik-config: níor aimsíodh an t-ordú
mapnik-config: no se encontró la orden
mapnik-config: no s'ha trobat l'ordre
mapnik-config: opdracht niet gevonden
mapnik-config: parancs nem található
mapnik-config: perintah tidak ditemukan
mapnik-config: príkaz nenájdený
mapnik-config: příkaz nenalezen
mapnik-config: команда не найдена
mapnik-config: командата не е открита
mapnik-config: 命令找不到
mapnik-config: コマンドが見つかりません