xmacrorec: 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/xmacrorec - from package: xmacro

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