[vek perlmonk org: Re: Gtk2-1.021 make test failures]



Forgot to cc gtk-perl-list, sorry :-(

From: Kevin Spencer <vek perlmonk org>
To: muppet <scott asofyet org>
Subject: Re: Gtk2-1.021 make test failures

Blimey, on Thu, Jan 01, 2004 at 09:13:01PM -0500, muppet wrote:

if i'm not mistaken, mdk 9.1 shipped with the original Inline-based 
gtk2-perl, which was used to implement their system tools.

you're failing on the two tests that load pms, and we've seen problems 
with those particular tests picking up the installed stuff rather than 
the blib stuff during test, causing problems because the old Inline 
stuff (versions <=0.12 is not compatible with the xs-based stuff 
(versions >= 0.20, including 1.021).

installing the new stuff over the old stuff doesn't quite work, as the 
.so and .pm files go to different spots in the tree, leaving the old 
stuff installed to cause problems.


more importantly, however --- mandrake's system tools will probably 
break very very badly if you upgrade gtk2-perl systemwide (similar to 
what happens to redhat 8.0's tools if you upgrade pygtk).  look through 
the README for a description of how to set up an installation of the 
perl modules into a non-system place and include them via environment 
variables.

Thanks for the tip muppet.  So, here's where I'm at.  I installed
Gtk2-1.021 in a non-systemwide directory.  Still having problems.  Even
though I specify my local directory lib path first in PERL5LIB, the
existing mdk 9.1 Gtk2 install is still being picked up.  Here's my @INC
from perl -V:

/home/vek/lib/perl5/5.8.0/i386-linux-thread-multi
/home/vek/lib/perl5/5.8.0
/home/vek/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/home/vek/lib/perl5/site_perl/5.8.0
/home/vek/lib/perl5/site_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.

A quick perl -c SimpleList.pm from my local dir results in the
following:

[vek on localhost, Linux - 2.4.21-0.13mdk, bash]-{69}
[~/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.

Looke like SimpleList.pm needs Gtk2::TreeView.  None of the Tree*
modules appear to be in my local lib dir however - should they be?

[vek on localhost, Linux - 2.4.21-0.13mdk, bash]-{77}
[~/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Gtk2]
->ls -l Tree*.pm
ls: Tree*.pm: No such file or directory

So, my local SimpleList.pm is picking up Gtk2::TreeView from
/usr/lib/perl5/*/Gtk2 - probably the mdk 9.1 version.  Where can I get
the Gtk2::Tree* modules so that I can install them locally?  Couldn't
find them on the CPAN.

Thanks for your patience.

--
Kev.

----- End forwarded message -----



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