ccache-swig: 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/ccache-swig - from package: swig

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

On Debian possible default full paths are:

/usr/bin/ccache-swig - from package: swig

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