| I have replaced my libGL,libGLU,libglut libraries and want
| to rebuild from PyOpenGL-18.104.22.168.py2-1.src.rpm.
| How can I force swig to regen. all the interfaces?
| I'm hoping this will fix up my build errors.
Unless you are planning on hacking the interface files you don't need SWIG.
The distribution includes pre-generated wrappers for the various API
versions, i.e. GLU 1.0, 1.1, etc. The problem that you are having is
actually due to the fact that your GLU headers are buggy. See the "Mesa GLU
bug" section in release notes on the SF download page. It discusses the
various workarounds. Unfortunatly, if you insist on sticking with an RPM
installation the method that adds a workaround to the PyOpenGL setup script
isn't possible since one needs to apply the mesa-patch.tar.gz file over to
top of PyOpenGL-bla.tar.gz
SF is currently down so I can't send you a like to the release notes, but
there is a short discussion in the docs also at
hope that works,
| I'd prefer a simple rpm install, but it is not necessary.
| My goal is to integrate:
If you want to install with RPMs then you have two possible paths. The first
is to install SGI's GLU lib via RPM available from the Mesa site. The
PyOpenGL RPM should then work.
Or you can do this:
tar -xzf PyOpenGL-22.214.171.124.tar.gz
tar -xzf mesa-setup-patch.tar.gz
python setup.py bdist_rpm --binary-only
then go the dists directory and install the RPM