Unable to build additional modules.

enixon

22-11-2010 00:55:30

After leaving my computer to compile the code over night I've finally got ogre installed which is exciting. The grass demo works. However, I'm trying to install the additional modules so the other demos will work and I'm running in to errors that are preventing them from being installed. The code included are the results from running

cd ~/ogre
python python-ogre/BuildModule.py -r ode ogreode newton ogrenewt ogreal bullet

and

cd ~/ogre
python python-ogre/BuildModule.py -b ode ogreode newton ogrenewt ogreal bullet


ogre is my development folder where ogre3d is installed. I'm on ubuntu linux 9.10


eliot@eliot-laptop:~/ogre$ python python-ogre/BuildModule.py -r ode ogreode newton ogrenewt ogreal bullet
PythonOgre.BuildModule: INFO Retrieving http://downloads.sourceforge.net/opende/ode-0.11.tar.gz
PythonOgre.BuildModule: INFO Retrieving co http://ogreaddons.svn.sourceforge.net/s ... nk/ogreode /home/eliot/ogre/ogreaddons/ogreode
PythonOgre.BuildModule: INFO Retrieving http://www.newtondynamics.com/downloads ... .53.tar.gz
PythonOgre.BuildModule: INFO Retrieving co http://ogreaddons.svn.sourceforge.net/s ... k/ogrenewt ogreaddons/ogrenewt
PythonOgre.BuildModule: INFO Retrieving http://connect.creativelabs.com/openal/ ... 72.tar.bz2
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Retrieving http://downloads.xiph.org/releases/ogg/ ... 1.3.tar.gz
PythonOgre.BuildModule: INFO Retrieving http://downloads.xiph.org/releases/vorb ... 2.0.tar.gz
PythonOgre.BuildModule: INFO Retrieving http://bullet.googlecode.com/files/bullet-2.75.tgz
eliot@eliot-laptop:~/ogre$ python python-ogre/BuildModule.py -b ode ogreode newton ogrenewt ogreal bullet
PythonOgre.BuildModule: INFO Build Command tar zxf /home/eliot/ogre/downloads/ode-0.11.tar.gz
PythonOgre.BuildModule: INFO Build Command chmod +x autogen.sh
PythonOgre.BuildModule: INFO Build Command ./autogen.sh
PythonOgre.BuildModule: INFO Build Command ./configure --prefix=/home/eliot/ogre/root/usr --includedir=/home/eliot/ogre/root/usr/include
PythonOgre.BuildModule: INFO Build Command make
PythonOgre.BuildModule: INFO Build Command make install
PythonOgre.BuildModule: INFO Build Command patch -s -N -i ../../python-ogre/patch/ogreode.patch -p0
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command chmod +x autogen.sh
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command ./autogen.sh
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command ./configure --without-SAMPLES --prefix=/home/eliot/ogre/root/usr
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command make
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command make install
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command tar zxf /home/eliot/ogre/downloads/newtonLinux-1.53.tar.gz
PythonOgre.BuildModule: INFO Build Command patch -s -i ./python-ogre/patch/Newton.patch -p0
PythonOgre.BuildModule: INFO Build Command cp newtonSDK/sdk/Newton.h /home/eliot/ogre/root/usr/include
PythonOgre.BuildModule: INFO Build Command cp newtonSDK/sdk/*.a /home/eliot/ogre/root/usr/lib
PythonOgre.BuildModule: INFO Build Command cp newtonSDK/sdk/*.a ogreaddons/ogrenewt
PythonOgre.BuildModule: INFO Build Command patch -s -N -i ../../python-ogre/patch/ogrenewt.patch -p0
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command rm -f -rf ./OgreNewt_Main/inc/boost
PythonOgre.BuildModule: INFO Build Command cp SConscript OgreNewt_Main
PythonOgre.BuildModule: INFO Build Command scons prefix=/home/eliot/ogre/root/usr boost=/home/eliot/ogre/root/usr/include/boost-1_37 build
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command scons prefix=/home/eliot/ogre/root/usr boost=/home/eliot/ogre/root/usr/include/boost-1_37 install
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command tar jxf /home/eliot/ogre/downloads/openal-soft-1.6.372.tar.bz2
PythonOgre.BuildModule: WARNING Task Failed
PythonOgre.BuildModule: INFO Build Command tar zxf /home/eliot/ogre/downloads/libogg-1.1.3.tar.gz
PythonOgre.BuildModule: INFO Build Command tar zxf /home/eliot/ogre/downloads/libvorbis-1.2.0.tar.gz
PythonOgre.BuildModule: INFO Build Command ./configure --prefix=/home/eliot/ogre/root/usr
make
make install
PythonOgre.BuildModule: INFO Build Command ./configure --prefix=/home/eliot/ogre/root/usr
make
make install
PythonOgre.BuildModule: INFO Build Command cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/eliot/ogre/root/usr
Traceback (most recent call last):
File "python-ogre/BuildModule.py", line 420, in <module>
buildModule ( classList[ moduleName ] )
File "python-ogre/BuildModule.py", line 175, in buildModule
ret = spawnTask ( cmd, path )
File "python-ogre/BuildModule.py", line 125, in spawnTask
process = subprocess.Popen (task, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd = cwdin, env=env)
File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: '/home/eliot/ogre/openal-soft-1.6.372'
eliot@eliot-laptop:~/ogre$




As you can see, it's getting Task Failed errors. I've spent about 5 hours looking for solutions but have found none. Any help would be greatly appreciated from some one just starting out with ogre. Thanks

dermont

22-11-2010 19:31:37

What version of python-ogre are you building 1-6-4 or trunk?

The current build for Linux may not be up-to-date. For example:
- trunk uses ogre version from February;
- ogreode now builds with CMake and has already been updated for Ogre1.7 so the patch may need updating;
- openal-soft has been updated and that version may no longer be available;
- ogrenewt (?) maybe try ogrenewt2/newton2;
- for physics bullet and ogrebullet should build OK.

If you post errors for individual modules I'll try and help even though I don't use the automatic build system.

You could also post on the developers group though there doesn't appear to be any support for python-ogre on Linux at this moment.

http://groups.google.com/group/python-ogre-developers

enixon

25-11-2010 23:26:54

Thank you for your reply. Given the amount of time it takes to get ogre3d up and running and the brick wall of errors I'm facing, I think it's safe to say the Ogre 3d is not linux friendly as of yet. I have no intentions of moving to windows to work with it. I think I'll be moving to jmonkey3d by way of jython. I like ogre3ds extensive examples. If I could only run and learn from them! Thanks for your effort any way.