Newbie question: PyOpenGL installation
Bjoern Giesler
un4e at rzstud1.rz.uni-karlsruhe.de
Wed Jul 19 08:44:30 EDT 2000
Hi,
Thomas Malik <340083143317-0001 at t-online.de> wrote:
:>
:> * install python-numpy-15.3-1.i386.rpm from
:> http://download.sourceforge.net/numpy/python-numpy-15.3-1.i386.rpm
:>
:> * grab pyOpenGL from CVS using the instructions on
:> http://www.pythonpros.com/cvs.html
:>
: That's quite old, the actual PyOpenGL is now on
: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/?cvsroot=PyOpenGL
I just got the CVS source from there, installed it (modifying it according
to the rules posted in this thread), and it doesn't work :-( Just saying the
two lines
>>> from OpenGL.Tk import *
>>> from OpenGL.GL import *
results in a segmentation fault. The abbreviated backtrace is
#0 0x8126fa7 in ?? ()
#1 0x8064211 in import_submodule (mod=0x8124288, subname=0xbfffe973 "GL",
fullname=0xbfffe96c "OpenGL.GL") at import.c:1737
#2 0x8063e94 in load_next (mod=0x8124288, altmod=0x8124288,
p_name=0xbfffed78, buf=0xbfffe96c "OpenGL.GL", p_buflen=0xbfffe968)
at import.c:1603
#3 0x8063b31 in import_module_ex (name=0x0, globals=0x8130778,
locals=0x8130778, fromlist=0x8120978) at import.c:1452
#4 0x8063c30 in PyImport_ImportModuleEx (name=0x81434ec "OpenGL.GL",
globals=0x8130778, locals=0x8130778, fromlist=0x8120978) at import.c:1489
#5 0x8080065 in builtin___import__ (self=0x0, args=0x8127c88)
at bltinmodule.c:65
The line in #1 is
#1 0x8064211 in import_submodule (mod=0x8124288, subname=0xbfffe973 "GL",
fullname=0xbfffe96c "OpenGL.GL") at import.c:1737
1737 path = PyObject_GetAttrString(mod, "__path__");
My system is a SuSE 6.3 (glibc 2.0), relatively pristine, on ix86. I'm at a
loss here. Anyone have an idea why this happens, or even have a binary
package you might tar up and send to me?
Thanks a lot in advance.
Regards,
--Björn
More information about the Python-list
mailing list