g++dep: 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/lib/ace/bin/g++dep - from package: libace-dev

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