ctemplate-make_tpl_varnames_h: 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/ctemplate-make_tpl_varnames_h - from package: libctemplate-dev

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