spatch: 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

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/spatch - from package: coccinelle

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