after it finishes:
cd irrlicht/source/Irrlicht
sudo make
Then you should be able to compile with the latest version, where the Makefile is pointing to. You may change that to another folder if you wish, if you don't want to place irrlicht in your /opt folder.
Here is how to compile irrlicht first. Copy this to your /opt folder
sudo svn co https:/ /irrlicht. svn.sourceforge .net/svnroot/ irrlicht/ trunk irrlicht
save it as 'uppirr.sh' and make it executable
cd /opt
./uppirr.sh
<enter password>
after it finishes: source/ Irrlicht
cd irrlicht/
sudo make
Then you should be able to compile with the latest version, where the Makefile is pointing to. You may change that to another folder if you wish, if you don't want to place irrlicht in your /opt folder.