svn build error, Ubuntu 9.10

When compiling the latest svn build I get stuck on this error (first time I build stk from svn):
I tried installing the shared irrlicht lib and without (using --with-irrlicht=), same error.
I've included config.log.
I'm on ubuntu 9.10, gcc 4.4.1, Irrlicht 1.7.1, all build-dependencies installed.
Can somebody help me out on this? Thank you
I tried installing the shared irrlicht lib and without (using --with-irrlicht=), same error.
I've included config.log.
I'm on ubuntu 9.10, gcc 4.4.1, Irrlicht 1.7.1, all build-dependencies installed.
in /usr/ :
checking irrlicht.h usability... no
checking irrlicht.h presence... no
checking for irrlicht.h... no
in /usr/local/ :
checking irrlicht.h usability... yes
checking irrlicht.h presence... yes
checking for irrlicht.h... yes
checking for irrlicht libraries...
configure: error: Can't build test irrLicht program. Check config.log to see the errors
Can somebody help me out on this? Thank you
