Re: Gtk2-1.00 make test errors



Jens Wilke said:
Hello,

i get the following errors on 'make test' for Gtk2-1.00 on my debian box.
Everything else works fine.

Rgds, Jens

t/19.GtkSimpleList........NOK 1#     Failed test (t/19.GtkSimpleList.t at line
19)
#     Tried to require 'Gtk2::SimpleList'.
#     Error:  Can't find 'boot_Gtk2__GType' symbol in
/usr/src/Gtk2-1.00/blib/arch/auto/Gtk2/Gtk2.so
#  at /usr/local/lib/perl/5.8.0/Gtk2/_config.pm line 0
#       ...propagated at /usr/local/lib/perl/5.8.0/Gtk2/GType.pm line 11.

_config.pm, GType.pm, /usr/local/lib --- that's a dead giveaway.

you have gtk2-perl < 0.20 installed.

the test is trying to use the installed .pm with the uninstalled .so, and
things of course go very, very badly.  i have no idea why this happens,
because we do nothing special to 'make test'.  however, it happens to the
pure-perl tests, and then only sometimes.


installing gtk2-perl>=0.20 over top of gtk2-perl < 0.20 can result in
heisenbugs, because they install to slightly different portions of the library
tree; that means that the old stuff can still be there, waiting to get used in
the right place at the wrong time.

the best solution is to wipe the Gtk2 directory out of your Perl library
before installing 1.00.


-- 
muppet <scott at asofyet dot org>



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