Re: Gtk2-1.021 make test failures

Blimey, on Sun, Jan 04, 2004 at 01:10:10PM -0500, muppet wrote:
what does your script look like?  what 'use' statements does it employ?  
 note that if you attempt to use Gtk2::Window you will bring the house  
down around your ears --- see below.

#!/usr/bin/perl -w

use Gtk2::SimpleList;
use strict;

you don't need a pm for TreeView, it is brought in with Gtk2 --- since  
0.20, Gtk2 consists of and, rather than the single .so  
and hundreds of .pms use by the old Inline stuff.

SimpleList and a few other helpers (in the pm dir of the source dist)  
are just gravy, stuff implemented in pure perl that *uses* Gtk2.

if you have 'use Gtk2::Window;' or 'use Gtk2::TreeView;', you will be  
picking up the old Inline-based stuff, and attempting to mix the two  
incompatible versions.

I think I'm confused.  Doesn't Gtk2::SimpleList pull in Gtk2::TreeView:

use base 'Gtk2::TreeView';

I have Gtk2::Treeview installed in a systemwide directory (presumably
from the mdk 9.1 original install).  It has a BEGIN block that I think
is the cause of the nastiness:

BEGIN { do 'Gtk2/'; $@ and die }

If you recall, the original error came from that

[vek on localhost, Linux - 2.4.21-0.13mdk, bash]-{50}
->perl -c
Can't find 'boot_Gtk2__GType' symbol in
 line 0
         ...propagated at
                 line 11.

Thanks again for your patience, am I making this 500 times harder than
it needs to be?? :-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]