pcre-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 CentOS possible default full paths are:

/usr/bin/pcre-config - from package: pcre-devel

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/pcre-config - from package: libpcre3-dev

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