sparkmake: 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/sparkmake - from package: spark

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