dcopidl2cpp: 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/dcopidl2cpp - from package: kdelibs3-devel

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