ascompose: 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 CentOS possible default full paths are:

/usr/bin/ascompose - from package: libAfterImage-devel

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/ascompose - from package: afterstep

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