Problems Building Python-Ogre on Ubuntu 8.04 (Hardy)

ZephyrXero

16-08-2008 18:39:37

I've been trying to get python-ogre installed for quite a few hours now. I've already had to fix 2 bugs in the install scripts (environment.py)....
  1. - there's an instance of "untar" that need to be changed to "tar xvf" with the ode section
    - the filename to download libboost from source forge is wrong, it needs to be changed from 1_35 to 1_35_0 (or 1_36_0) to download correctly[/list:u]
    Now that I'm finally at the compilation stage, it's failing out with even more issues that I'm not sure how/where to fix...
    PythonOgre.BuildModule: INFO Build Command ./configure --with-libraries=python --prefix=/mnt/data/derick/code/root/usr --without-icu --with-bjam=../root/usr/bin/bjam
    PythonOgre.BuildModule: INFO Build Command make
    PythonOgre.BuildModule: INFO Build Command make install
    PythonOgre.BuildModule: INFO Build Command make all
    Traceback (most recent call last):
    File "python-ogre/BuildModule.py", line 292, in <module>
    buildModule ( classList[ moduleName ] )
    File "python-ogre/BuildModule.py", line 143, in buildModule
    ret = spawnTask ( cmd, path )
    File "python-ogre/BuildModule.py", line 93, in spawnTask
    process = subprocess.Popen (task, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd = cwdin, env=env)
    File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
    errread, errwrite)
    File "/usr/lib/python2.5/subprocess.py", line 1147, in _execute_child
    raise child_exception
    OSError: [Errno 2] No such file or directory: '/mnt/data/derick/code/libboost-python1.36.0-index'


    Is it this hard for everyone or did I just pull from subversion at a bad time? Speaking of which....how come the only way to install Python-OGRE in Ubuntu is to pull from trunk in svn? Are there no stable nor testing releases? Why are there no tagged branches for different revisions of the code base? I see multiple versions available as .exe's for Windows, so is Linux (and I guess Mac too) just a second class citizen for the Python-OGRE dev team?

    PS: Sorry if this sounds a little flamy-trollish, but I'm not exactly happy about this right now...

    PSS: Is there a chat room for Python-Ogre anywhere? I couldn't find one on the site...

andy

17-08-2008 01:55:10

There are a couple of options -- one being to use the prebuild deb's which are very much in the test stage (and help is available on the mailing list)

Add the following repository to your source list:
debhttp://packages.thousandparsec.net/ubuntuhardy universe

Then just do an:
apt-get install python-ogre

The Linux developers tend to use the [b]mailing list[/b] so head on over there and ask for help..

Regards

Andy

ZephyrXero

17-08-2008 10:12:58

Thanks Andy... a .deb would certainly be a much appreciated help in getting started.

mithro

26-08-2008 02:58:53

The debs URL has changed, you will need to use the following for hardy


deb http://packages.thousandparsec.net/hardy hardy universe


Then as Andy said, just do a

apt-get install python-ogre


Tim 'Mithro' Ansell
Python Ogre Linux Packager