ncc: 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/ncc - from package: tinyos-tools

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