h8300-hms-ranlib: 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/h8300-hms-ranlib - from package: binutils-h8300-hms

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