I've tried the following both natively (amd64) and in a 32bit (i386) chroot.
Moreover, i've tried both python2.4 and python2.5.
I've installed python-opengl 3.0.0~b3, python-pyglew 0.1.2, python-pygame 1.7.1release-4.2 and python-xml 0.8.4.
I managed to find amanith 0.3 sources, patched them¹ and built the code.
I got PyAmanith 0.3.35, patched the code¹ and built it.
I got cx_Freeze 3.0.3 and built it.
I grabbed RF-mod 4.15 code and copied over the source files from Alarian 2.950. I then took the Makefile.unix from latest fretsonfire subversion code, modified it and always came with the same problem.
cx_Freeze outputs:
Code: Select all
Missing modules:
[...]
? OpenGL.platform.GL imported from OpenGL.GL.exceptional, OpenGL.GLU.projection
? OpenGL.platform.GLU imported from OpenGL.GL.exceptional, OpenGL.GLU.quadrics, OpenGL.GLU.tess
? OpenGL.platform.PLATFORM imported from OpenGL.GLU.glunurbs, OpenGL.GLU.quadrics, OpenGL.GLU.tess
? OpenGL.platform.createBaseFunction imported from OpenGL.GL.exceptional, OpenGL.GLU.quadrics, OpenGL.GLU.tess
[...]
Running the binary results in the following error:
Code: Select all
Traceback (most recent call last):
 File "/tmp/cx_Freeze-3.0.3/initscripts/Console.py", line 27, in ?
  exec code in m.
 File "src/FretsOnFire.py", line 36, in ?
 File "src/GameEngine.py", line 23, in ?
 File "/usr/share/pyshared/OpenGL/GL/.py", line 2, in ?
  from OpenGL.raw.GL import *
 File "/usr/share/pyshared/OpenGL/raw/GL/.py", line 6, in ?
  from OpenGL.raw.GL.constants import *
 File "/usr/share/pyshared/OpenGL/raw/GL/constants.py", line 7, in ?
  from OpenGL import platform, arrays
 File "/usr/share/pyshared/OpenGL/platform/.py", line 57, in ?
  _load()
 File "/usr/share/pyshared/OpenGL/platform/.py", line 40, in _load
  plugin_class = _findPlatform( platform )
 File "/usr/share/pyshared/OpenGL/platform/.py", line 28, in _findPlatform
  return entrypoint.load()
 File "/usr/share/pyshared/pkg_resources.py", line 1912, in load
  entry = (self.module_name, globals(),globals(), [''])
ImportError: No module named glx
Looking at MFH-Alarian 2.900 32bit GNU/Linux binary package, i noticed i was missing at least three files from my dist/ directory, namely:
OpenGL.GL.ARB.multisample.so, OpenGL.GL.GL_.so and OpenGL.GLU.GLU_.so .
Another side effect of cx_Freeze not finding what it needs?
Is this caused by a too recent version of python-opengl (using 3.0.0~b3)?
Am I missing another library/package?
Is there an amd64-specific issue [that would also affect the 32bit chroot]?
Someone else seem to have hit the wall.
From the Arch distro forum:
http://bbs.archlinux.org/viewtopic.php?pid=356778
Any help or suggestion is welcome.
¹ I can provide the patches I used, they were mainly to make it build on Debian unstable e.g. with Qt4.