Subject: | Unable to install POE::Session::GladeXML2 |
Date: | Thu, 10 Oct 2013 23:41:24 +0300 |
To: | bug-POE [...] rt.cpan.org |
From: | Gatis Freipičs <gatis.freipics [...] gmail.com> |
Hi,
I started to build monitoring tool using POE + GTK2. Everything is perfect,
except the fact that building GUI takes time. I decided to give a try and
use Glade for building it. Unfortunately I am not able to install
POE::Session::GladeXML2 component:
During installation one of the tests fails with " Can't use string ("1")
as a HASH ref while "strict refs" in use at
/root/.cpan/build/POE-Session-GladeXML2-0.40-fYERaV/blib/lib/POE/Session/GladeXML2.pm
line 142"
cpan[1]> install POE::Session::GladeXML2
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 09 Oct 2013 18:17:02 GMT
Running install for module 'POE::Session::GladeXML2'
Running make for M/MA/MARTIJN/POE-Session-GladeXML2-0.40.tar.gz
Checksum for
/root/.cpan/sources/authors/id/M/MA/MARTIJN/POE-Session-GladeXML2-0.40.tar.gz
ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
CPAN.pm: Going to build M/MA/MARTIJN/POE-Session-GladeXML2-0.40.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for POE::Session::GladeXML2
Writing MYMETA.yml and MYMETA.json
cp lib/POE/Session/GladeXML2.pm blib/lib/POE/Session/GladeXML2.pm
Manifying blib/man3/POE::Session::GladeXML2.3pm
MARTIJN/POE-Session-GladeXML2-0.40.tar.gz
/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01-use.t .... ok
t/02-click.t .. Can't use string ("1") as a HASH ref while "strict refs" in
use at
/root/.cpan/build/POE-Session-GladeXML2-0.40-nOWCLM/blib/lib/POE/Session/GladeXML2.pm
line 142.
# Looks like your test exited with 22 before it could output anything.
t/02-click.t .. Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 3/3 subtests
Test Summary Report
-------------------
t/02-click.t (Wstat: 5632 Tests: 0 Failed: 0)
Non-zero exit status: 22
Parse errors: Bad plan. You planned 3 tests but ran 0.
Files=2, Tests=1, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.11 cusr 0.01
csys = 0.16 CPU)
Result: FAIL
Failed 1/2 test programs. 0/1 subtests failed.
make: *** [test_dynamic] Error 22
MARTIJN/POE-Session-GladeXML2-0.40.tar.gz
/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MARTIJN/POE-Session-GladeXML2-0.40.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
MARTIJN/POE-Session-GladeXML2-0.40.tar.gz : make_test NO
Even if force install it, while executing example from POE cookbook I get
the same error:
" Can't use string ("1") as a HASH ref while "strict refs" in use at
/root/.cpan/build/POE-Session-GladeXML2-0.40-fYERaV/blib/lib/POE/Session/GladeXML2.pm"
I am runing perl version : perl 5, version 14, subversion 4 (v5.14.4) built
for x86_64-linux-thread-multi
OS is: Fedora 17: LInux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I have tried several other systems on virtual machines - fresh install of
Fedora 18, Centos 6, Ubuntu and all fails with the same error.
I have googled around for a while, but so far nothing.
Everything else I have built using POE works like a charm.
I would appreciate any help.
Thanks,
Best regards,
Gatis