PyOpenGL 2.0.1 will segfault when trying to install
togl 1.6 for Tk 8.4 under Python 2.3. This is because
the tkStubsPtr is a null pointer when togl.c line 726
There are two versions of the Tk dll getting
loaded, with the one that actually gets called to
register the DLL not having a reference. This is quite
likely given that there are two versions of the dlls
installed on my machine (and likely anyone who's tried
to build, given the current build instructions).
The Tk instance we're creating hasn't yet been
initialised, for instance via mainloop (or whatever
does it, I've not yet tracked through the Tk code to
find out where that initialisation is supposed to
occur), so it's missing the stub pointers. This seems
less likely, but will look into it tomorrow if the
other approach doesn't pan out.
You know, funny thing is, the entire Togl build and
installation boils down to about 5 lines of commands
once you do all the substitutions and simplify it down
to what actually needs to get done on any *particular*
system. All the togl-setup code really is just
figuring out which libraries to use, which paths to
include, etceteras. Sigh.
Anyway, now that I've got the darn thing building in
debug mode and dropping into a debugger when the error
occurs I'll hopefully be able to track down the cause
tomorrow and have a building PyOpenGL for Python 2.3.