Re: Gtk2-1.021 make test failures
- From: Kevin Spencer <vek perlmonk org>
- To: muppet <scott asofyet org>
- Cc: gtk-perl-list gnome org
- Subject: Re: Gtk2-1.021 make test failures
- Date: Sun, 4 Jan 2004 16:07:50 -0500
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 Gtk2.pm and Gtk2.so, 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/_config.pm'; $@ and die }
If you recall, the original error came from that _config.pm:
[vek on localhost, Linux - 2.4.21-0.13mdk, bash]-{50}
[~/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Gtk2]
->perl -c SimpleList.pm
Can't find 'boot_Gtk2__GType' symbol in
/home/vek/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Gtk2/Gtk2.so
at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Gtk2/_config.pm
line 0
...propagated at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Gtk2/GType.pm
line 11.
Thanks again for your patience, am I making this 500 times harder than
it needs to be?? :-)
--
Kev.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]