BuildInstall.py errors on MacOSX

kespindler

22-05-2011 03:40:54

Hey,

I'm trying to install python-ogre, and running into the following errors.



kurt@friedrich:~/workspace/python-ogre$ python BuildModule.py -h
Traceback (most recent call last):
File "BuildModule.py", line 9, in <module>
import environment
File "/Users/kurt/workspace/python-ogre/environment.py", line 1858, in <module>
class hydrax(pymodule):
File "/Users/kurt/workspace/python-ogre/environment.py", line 1877, in hydrax
moduleLibs = [ os.path.join(Config.PATH_LIB_hydrax, 'Hydrax')]
AttributeError: 'module' object has no attribute 'PATH_LIB_hydrax'

I'm running osx 10.6.6 and python 2.6.1. I am on the svn trunk:
kurt@friedrich:~/workspace/python-ogre$ svn info
Path: .
URL: https://python-ogre.svn.sourceforge.net ... ython-ogre
Repository Root: https://python-ogre.svn.sourceforge.net ... ython-ogre
Repository UUID: 3be82d60-661a-0410-ad8d-e6a4dab1e050
Revision: 1149
Node Kind: directory
Schedule: normal
Last Changed Author: anthonybeaucamp
Last Changed Rev: 1149
Last Changed Date: 2011-05-20 20:45:02 -0700 (Fri, 20 May 2011)

Any thoughts? Why would it be trying to find hydrax path when I'm just querying the BuildModule.py for help with -h...?

Thanks!

Kurt

kkb110

22-05-2011 07:47:48

same here (archlinux)

dermont

23-05-2011 18:30:38

Someone appears to be doing some updates to the python-ogre svn trunk, don't quite know what.

As a workaround you can set the PATH_LIB_hydrax path in your PythonOgreConfig_posix/nt/<username>.py to the third party source, this will hopefully allow you to build the core modules.


PATH_LIB_hydrax=os.path.join(PATH_THIRDPARTY, 'Hydrax')

Mohican

31-05-2011 16:56:06

I have been working my way through the build/config files to automate some bits which are still manually done, like Hydrax.
I added some stuff to the NT file, which I did not copy across to the POSIX file.

I have fixed that now, sorry about this small bug...

Mohican

31-05-2011 17:13:45

Oh by the way, the wiki contains helpful guidance with building Python-Ogre, but it is far from a step-by-step guide.
So I have added these files to the trunk, that document the whole process step-by-step:

Instructions-Ubuntu.txt
Instructions-Windows.txt

I plan to convert these to wiki entries sometime...