hi !
please use the newest iris 2 sourcecode from svn, as it contains the latest bugfixes, available via
install subversion
svn co
svn://iris.schattenkind.net/iris/trunk iris
./installdeps.ubuntu.sh to install dependencies
./premakelinux.sh to compile iris
use ./makeclean.sh after config/lib changes
you shouldn't have to modify anything for it to compile.
(i'm on ubuntu 9.04, 32 bit, and it works)
./lugre/premake.lua.dist isn't used in iris, it's just an example for how to use lugre, but might not be up to date always.
iris/premake.lua is the main file used to configure the build-system, but should work without modification.
sqlite might not even be used in the sourcecode yet, it was just added as lib recently.