If you encounter any solaris specific compile issues that require
workarounds, it might be a good idea to make a few notes
and post them here or on the wiki because a number of people have
reported problems in the past, though I also know a number have
succeeded.
Thanks John. The fact that it was a PyGTK bug pointed me in the direction
of switching from gtk 2.4 to gtk 2.6. Problem solved.
On to my next problem ...
After only a small further amount of wailing and gnashing of teeth I got
matplotlib to build and install (just some -I, -L & -R flags for the
build_ext command). Then I decided to tackle the tutorial. Example 1:
% python
Python 2.3.4 (#12, Jul 2 2004, 09:48:10)
[GCC 3.3.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> pygtk.require('2.6')
>>> from pylab import *
>>> plot([1,2,3,4])
[<matplotlib.lines.Line2D instance at 0x8790d6c>]
>>> show()
(process:3261): GLib-GObject-CRITICAL **: gtype.c:2253: initialization assertion failed, use g_type_init() prior to this function
Segmentation Fault (core dumped)
Unfortunately, I'm not sure what further information to give you to help
tracking down the location. I have to run for the train, but will at least
try running under gdb mañana. In the meantime, any suggestions about
potential causes would be gracefully appreciated.