PyOpenGL build (was distutils question)

Randall Hopper aa8vb at yahoo.com
Fri Sep 28 07:30:02 EDT 2001


Randall Hopper:
 | > 
 | > I'm trying to install PyOpenGL on irix.  I keep getting binary
 | > incompatability errors from the linker (o32 vs. n32 problem).  
...
 |For now, apply the attached patch (a hack) if your Python was built with
 |the n32 ABI.  You may be able to null out library_dirs completely, but I
 |didn't try it.
 |
 |You may run into other problems later when you try to run the demos though
 |(I did).

You'll also need this patch (thanks to Tarn Weisner Burton on the pyopengl
list for this):

--- setup/ORIG/build_py.py      Thu Aug 30 14:02:56 2001
+++ setup/build_py.py   Thu Sep 27 07:51:54 2001
@@ -42,6 +42,7 @@
 
        def run(self):
                self._check_compiler()
+               customize_compiler(self.compiler)
                for name, value in self.distribution.define_macros:
                        self.compiler.define_macro(name, value)
                self.dump_source = 0


Randall

-- 
Randall Hopper
aa8vb at yahoo.com




More information about the Python-list mailing list