kde_generate_export_header: 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/kde_generate_export_header - from package: kdesdk

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

On Debian possible default full paths are:

/usr/bin/kde_generate_export_header - from package: kdesdk-scripts

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