My Linux box was hacked into a couple of weeks ago so I've been working
(slowly) on an old SGI for a bit. Finally today I'm back on a new(ish)
Linux box (which is the only reason we got a release out today). I had to
re-install all the Python/Tcl/Tk/Mesa/Analysis software from scratch.
This brought up a real nasty. I decided to upgrade to Python 2.3 from
Python 2.2 and decided (after reading the README) to let it figure out
where Tcl/Tk was and just told it to compile. Unfortunately it found the
system Tcl/Tk libraries (in /usr) rather than the ones (in my home
directory) I used to compile Analysis (which are explicitly given in
environment.txt). This caused Python to segmentation fault when it first
went into the C world to open an OpenGL canvas. You have to use literally
the same Tcl/Tk libraries for both Python and Analysis. So even if you
have Tcl8.3 in /usr and (functionally) the same Tcl8.3 in your home
directory, Python cannot cope with the two at once. (It's down to the way
they do type checking in the C world.) This shows again how tortuous this
whole compilation issue is.
Wayne
|