Re: Failed installing Gtk2-1.224.tar.gz via CPAN
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Failed installing Gtk2-1.224.tar.gz via CPAN
- Date: Mon, 08 Aug 2011 11:19:08 +0200
On 07.08.2011 20:39, Aydar Khabibullin wrote:
I have tried to install Gtk2-1.224.tar.gz (cpan -i Gtk2), but no success.
One test is failing:
t/GtkStatusIcon.t .................. 1/36 Gtk-WARNING **:
gtk_widget_size_allocate(): attempt to allocate widget with width 40 and
height -9795 at t/GtkStatusIcon.t line 78.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget
with width 40 and height -9795 at t/GtkStatusIcon.t line 78.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget
with width 40 and height -9795 at t/GtkStatusIcon.t line 78.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget
with width 40 and height -9795 at t/GtkStatusIcon.t line 85.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget
with width 40 and height -9795 at t/GtkStatusIcon.t line 85.
Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget
with width 40 and height -9795 at t/GtkStatusIcon.t line 85.
# Failed test at t/GtkStatusIcon.t line 92.
# '-8478'
# doesn't match '(?-xism:^\d+$)'
# Failed test at t/GtkStatusIcon.t line 93.
# '-9799'
# doesn't match '(?-xism:^\d+$)'
# Failed test at t/GtkStatusIcon.t line 111.
# Failed test at t/GtkStatusIcon.t line 112.
# Looks like you failed 4 tests of 36.
t/GtkStatusIcon.t .................. Dubious, test returned 4 (wstat
1024, 0x400)
Failed 4/36 subtests
(less 2 skipped subtests: 30 okay)
Looks like GtkMenu is requesting a weird size for itself. This is
likely just a tiny issue with the test itself. You can force
installation with `cpan -fi Gtk2`.
If you do, what does this print?
use Gtk2 -init;
my $icon = Gtk2::StatusIcon -> new_from_icon_name("gtk-ok");
my $menu = Gtk2::Menu -> new();
$menu -> popup(undef, undef, \&Gtk2::StatusIcon::position_menu,
$icon, 0, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]