[Image-SIG] TkImaging on SGI?

Fredrik Lundh fredrik@pythonware.com
Wed, 29 Sep 1999 12:32:09 +0200


Georg Mischler <schorsch@schorsch.com> wrote:
> has anyone else had troubles with getting tkImaging to
> work on a sgi box with the standard sgi compiler?
> In my case, attempting to display an image would dump
> a segmentation violation:
>
>   Process 54208 (python) stopped on signal SIGSEGV: Segmentation violation (default) at
[Tk_GetImageMasterData:781 ,0x5ff17120]
>          Source (of ./../generic/tkImage.c) not available for Process 54208
>
> Since some of the already installed libraries were compiled
> that way, I had to use the -o32 option. Displaying images
> with the Tk demos works fine, and PIL alone also doesn't
> make any problems. The system is an O2 with irix 6.5 (I think
> Python and Tk were compiled with an older OS version).
>
> Any suggestions where to look for fixing the problem?

if you've change the Imaging.h structure, you may
have to rebuild _tkinter (depending on where you've
placed the tkImage.c module).  If they doesn't match,
getting a segmentation violation down in tkImage is
quite likely.

</F>