From: John R. Jackson <jrj@ga...> - 2002-08-02 20:14:02
First, my apologies. I've been trying to build wxPython for more than
a week now and am not getting anywhere, so my mood is not at its best.
I'm very close to just giving up on Python.
I was originally using the Sun compilers, but that appears to be
impossible once you get to wxPython. In the process, though, I got
through the PyOpenGL build without any trouble. Well, sort of. I had
to fix the GL_TEXTURE_COORD_ARRAY_EXT bug, and I created a sunos5.cfg
file out of linux.cfg with the following change:
But those are both known items.
So then I went back to Python and rebuilt with gcc (2.95.3). Now when
I try to do PyOpenGL it fails:
building 'GLUT' extension
Text relocation remains referenced
against symbol offset in file
<unknown> 0x80 /usr/local/lib/libglut.a(glut_8x13.o)
[ ... About a bajillion similar errors omitted ... ]
XOpenDevice 0x1ac /usr/local/lib/libglut.a(glut_input.o)
gcc -shared build/temp.solaris-2.8-sun4u-2.2/GLUT.o -L/usr/local/lib -L/usr/openwin/lib -Lbuild/temp.solaris-2.8-sun4u-2.2 -lGL -lX11 -lXext -lGLU -lglut -lXi -lXmu -linterface_util -lGLE -o build/lib.solaris-2.8-sun4u-2.2/OpenGL/GLUT.so
I found similar lines in the Python build that (obviously) worked just
fine, so I don't understand why it can't find those symbols. In fact,
lots of "gcc -shared" things happened OK in the PyOpenGL build before
this as well. It's something about -lglut.
Changing "gcc -shared" to "cc -G", however, makes this go just fine
(which is what the first build with cc did).
So basically I'm out of options. I can't use the Sun compilers. I can't
Can anyone guide me through this morass?
Please reply (or Cc) me directly. I'm not on this mailing list.
John R. Jackson, Technical Software Specialist, jrj@...