sb2-qemu-gdbserver-prepare: 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/sb2-qemu-gdbserver-prepare - from package: scratchbox2

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