Installing matplotlib

Actually I think this is fixed in CVS, isn't it?

I think so. In my cvs tree in, I have

        import gtk
    except ImportError:
        print 'GTKAgg requires pygtk'
    except RuntimeError:
        print 'pygtk present but import failed'

If X is not present, they get the runtime error, and in this case GTK
will still build, right?

But you'll still need X to run the GTK backend....