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

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

On Debian possible default full paths are:

/usr/bin/makekdewidgets - from package: kdelibs5-dev

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