tos-write-buildinfo: 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/tos-write-buildinfo - from package: tinyos-tools

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