Has the script been terminated / interrupted while it was generating the wrapper code? I ran into a similar problem (see this thread). I was able to resolve it by removing the incompletely generated code and restarting the generation process; in my case it was with OIS, but I'd imagine it would have a similar effect on other portions of the codebase.
I'm currently attempting to build from trunk, we'll see how it goes. (:
Well as I said, I have been running the script, I haven't been doing it step-by-step so I don't know exactly where it stopped. These are the last lines on the console though:
PythonOgre.BuildModule: INFO Build Command make
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command sudo make install
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command tar zxf /home/nichitautiu/development/downloads/CEGUI-0.7.1.tar.gz --overwrite
PythonOgre.BuildModule: INFO Build Command ./bootstrap
PythonOgre.BuildModule: INFO Build Command ./configure --prefix=/usr --enable-freeimage=yes --enable-ogre-renderer=yes --with-default-xml-parser=TinyXMLParser --includedir=/usr/include
PythonOgre.BuildModule: INFO Build Command make
PythonOgre.BuildModule: INFO Build Command sudo make install
PythonOgre.BuildModule: INFO Building Source code for ogre
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Compiling Source code for ogre
PythonOgre.BuildModule: INFO Building Source code for ois
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Compiling Source code for ois
PythonOgre.BuildModule: INFO Building Source code for cegui
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Compiling Source code for cegui
PythonOgre.BuildModule: INFO Build Command sudo python setup.py install