fieldpath-gen: 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/fieldpath-gen - from package: golang-gogoprotobuf-dev

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