I tried to install xpl-perl on my iMac (clean install of Lion) but didn't succeed. Many tests don't pass and I don't know what to do. DCM (xpl4java) doesn't connect to the hub.
Silicium:xpl-perl olivier$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for xPL-Perl
Silicium:xpl-perl olivier$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-helpers.t .................. ok
t/01-pod.t ...................... ok
t/01-use.t ...................... 1/67
# Failed test 'require xPL::Dock::Notifo;'
# at t/01-use.t line 59.
# Tried to require 'xPL::Dock::Notifo'.
# Error: Can't locate AnyEvent/WebService/Notifo.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Dock/Notifo.pm line 29.
# BEGIN failed--compilation aborted at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Dock/Notifo.pm line 29.
# Compilation failed in require at (eval 39) line 2.
# Looks like you failed 1 test of 67.
t/01-use.t ...................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/67 subtests
(less 14 skipped subtests: 52 okay)
t/01-xpl-base.t ................. ok
t/01-xpl-interfaces.t ........... ok
t/01-xpl-message.t .............. ok
t/01-xpl-slowmessage.t .......... 1/15 Providing "body" hash reference is deprecated. Use an array reference so that order is preserved. For example: [ device => "device", command => "on" ] at t/01-xpl-slowmessage.t line 16
Providing "body" hash reference is deprecated. Use an array reference so that order is preserved. For example: [ device => "device", command => "on" ] at t/01-xpl-slowmessage.t line 56
t/01-xpl-slowmessage.t .......... ok
t/01-xpl-utils.t ................ ok
t/01-xpl-validation.t ........... ok
t/02-message-v.t ................ ok
t/02-message.t .................. ok
t/02-schema-yaml.t .............. skipped: YAML not available
t/02-timer.t .................... ok
t/03-message-errors-v.t ......... ok
t/03-message-errors.t ........... ok
t/03-message-from-payload.t ..... ok
t/03-message-method-maker.t ..... ok
t/04-clock.t .................... ok
t/04-collection-api.t ........... ok
t/04-config.t ................... ok
t/04-hbeat-errors.t ............. ok
t/04-osd-errors.t ............... ok
t/04-queue.t .................... ok
t/05-listener-anyevent.t ........ 1/163 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 163 tests but ran 18.
# Looks like your test exited with 255 just after 18.
t/05-listener-anyevent.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 145/163 subtests
t/05-listener-send-methods.t .... ok
t/05-listener.t ................. 1/163 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 163 tests but ran 18.
# Looks like your test exited with 255 just after 18.
t/05-listener.t ................. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 145/163 subtests
t/06-hub.t ...................... 1/70 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 70 tests but ran 26.
# Looks like your test exited with 2 just after 26.
t/06-hub.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 44/70 subtests
t/07-client-config.t ............ ok
t/07-client-gtk.t ............... skipped: No Gtk2 perl module installed
t/07-client-hubless.t ........... 1/19 bind failed ... switching off hubless mode.
# Failed test 'hbeat mode is standard'
# at t/07-client-hubless.t line 23.
# got: 'fast'
# expected: 'standard'
# Failed test 'listen socket is send socket'
# at t/07-client-hubless.t line 24.
# got: 'GLOB(0x7f98e41e4388)'
# expected: 'GLOB(0x7f98e417dd58)'
# Failed test 'listen socket has SO_REUSEADDR set'
# at t/07-client-hubless.t line 25.
# got: '4'
# expected: '1'
Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 19 tests but ran 5.
# Looks like you failed 3 tests of 5 run.
# Looks like your test exited with 255 just after 5.
t/07-client-hubless.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 17/19 subtests
t/07-client-ping.t .............. 1/10 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 10 tests but ran 5.
# Looks like your test exited with 255 just after 5.
t/07-client-ping.t .............. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/10 subtests
t/07-client-stealth.t ........... 1/14 bind failed ... switching off hubless mode.
# Failed test 'listen socket is send socket'
# at t/07-client-stealth.t line 24.
# got: 'GLOB(0x7f93e29e3de8)'
# expected: 'GLOB(0x7f93e297d770)'
# Failed test 'listen socket has SO_REUSEADDR set'
# at t/07-client-stealth.t line 25.
# got: '4'
# expected: '1'
Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 14 tests but ran 5.
# Looks like you failed 2 tests of 5 run.
# Looks like your test exited with 255 just after 5.
t/07-client-stealth.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 11/14 subtests
t/07-client.t ................... 1/51 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 51 tests but ran 10.
# Looks like your test exited with 255 just after 10.
t/07-client.t ................... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 41/51 subtests
t/08-bridge-client.t ............ 1/12 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 12 tests but ran 9.
# Looks like your test exited with 255 just after 9.
t/08-bridge-client.t ............ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/12 subtests
t/08-bridge.t ................... 1/47 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 47 tests but ran 7.
# Looks like your test exited with 29 just after 7.
t/08-bridge.t ................... Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 40/47 subtests
t/09-hub-ignore-remote-hbeat.t .. ok
t/09-targetting.t ............... skipped: AnyEvent's singleton main_loop confuses this test
t/10-mainloop.t ................. ok
t/12-dock.t ..................... ok
t/13-dock-plug.t ................ ok
t/13-iohandler.t ................ 1/34 sysread() on unopened filehandle GEN5 at /System/Library/Perl/5.12/darwin-thread-multi-2level/IO/Handle.pm line 450.
stty: illegal option -- -F
usage: stty [-a|-e|-g] [-f file] [options]
stty: illegal option -- -F
usage: stty [-a|-e|-g] [-f file] [options]
t/13-iohandler.t ................ ok
t/13-iorecords.t ................ ok
t/14-dock-apcups.t .............. 6/28 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 28 tests but ran 6.
# Looks like your test exited with 2 just after 6.
t/14-dock-apcups.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 22/28 subtests
t/14-dock-bluetooth.t ........... skipped: No Net::Bluetooth perl module
t/14-dock-currentcost.t ......... skipped: No AnyEvent::CurrentCost module: Can't locate AnyEvent/CurrentCost.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-currentcost.t line 16.
t/14-dock-datetime.t ............ 1/11 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 11 tests but ran 5.
# Looks like your test exited with 2 just after 5.
t/14-dock-datetime.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/11 subtests
t/14-dock-dawndusk.t ............ skipped: No DateTime::Event::Sunrise perl module
t/14-dock-dmx.t ................. 1/72 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 72 tests but ran 11.
# Looks like your test exited with 25 just after 11.
t/14-dock-dmx.t ................. Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 61/72 subtests
t/14-dock-easydaq.t ............. 1/29 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 29 tests but ran 10.
# Looks like your test exited with 255 just after 10.
t/14-dock-easydaq.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 19/29 subtests
t/14-dock-fdnotify.t ............ ok
t/14-dock-hddtemp.t ............. 1/19 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 19 tests but ran 6.
# Looks like your test exited with 2 just after 6.
t/14-dock-hddtemp.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 13/19 subtests
t/14-dock-heyu.t ................ 1/27 # Looks like you planned 27 tests but ran 4.
# Looks like your test exited with 25 just after 4.
t/14-dock-heyu.t ................ Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 23/27 subtests
t/14-dock-lcdproc.t ............. 1/113 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 113 tests but ran 7.
# Looks like your test exited with 29 just after 7.
t/14-dock-lcdproc.t ............. Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 106/113 subtests
t/14-dock-linux.t ............... 1/11 Failed to open temporary file t/linux/1/sys/class/power_supply/BAT4/charge_full: Permission denied
# Looks like you planned 11 tests but ran 3.
# Looks like your test exited with 13 just after 3.
t/14-dock-linux.t ............... Dubious, test returned 13 (wstat 3328, 0xd00)
Failed 8/11 subtests
t/14-dock-lirc.t ................ 1/15 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 15 tests but ran 7.
# Looks like your test exited with 29 just after 7.
t/14-dock-lirc.t ................ Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 8/15 subtests
t/14-dock-mythtv.t .............. 1/21 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 21 tests but ran 6.
# Looks like your test exited with 2 just after 6.
t/14-dock-mythtv.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 15/21 subtests
t/14-dock-owfs.t ................ 1/28 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 28 tests but ran 4.
# Looks like your test exited with 25 just after 4.
t/14-dock-owfs.t ................ Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 24/28 subtests
t/14-dock-ownet.t ............... skipped: No AnyEvent::OWNet module: Can't locate AnyEvent/OWNet.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-ownet.t line 12.
t/14-dock-rfxcom-rx.t ........... skipped: No AnyEvent::RFXCOM::RX module: Can't locate AnyEvent/RFXCOM/RX.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-rfxcom-rx.t line 15.
t/14-dock-rfxcom-tx.t ........... skipped: No AnyEvent::RFXCOM::TX module: Can't locate AnyEvent/RFXCOM/TX.pm in @INC (@INC contains: t/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-rfxcom-tx.t line 16.
t/14-dock-udin.t ................ 1/33 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 33 tests but ran 10.
# Looks like your test exited with 255 just after 10.
t/14-dock-udin.t ................ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 23/33 subtests
t/14-dock-viom.t ................ 1/63 Can't locate object method "one_event" via package "AnyEvent" at /Users/olivier/Programmation/xpl/xpl-perl/blib/lib/xPL/Listener.pm line 724.
# Looks like you planned 63 tests but ran 10.
# Looks like your test exited with 25 just after 10.
t/14-dock-viom.t ................ Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 53/63 subtests
t/14-dock-w800.t ................ skipped: No AnyEvent::W800 module: Can't locate AnyEvent/W800.pm in @INC (@INC contains: /Users/olivier/Programmation/xpl/xpl-perl/blib/lib /Users/olivier/Programmation/xpl/xpl-perl/blib/arch /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at t/14-dock-w800.t line 15.
t/14-dock-wol.t ................. ok
t/14-dock-xosd.t ................ ok
t/14-dock-xvkbd.t ............... ok
t/author-critic.t ............... skipped: these tests are for testing by the author
t/release-eol.t ................. skipped: these tests are for release candidate testing
t/release-kwalitee.t ............ skipped: these tests are for release candidate testing
t/release-no-tabs.t ............. skipped: these tests are for release candidate testing
t/release-pod-coverage.t ........ skipped: these tests are for release candidate testing
t/release-pod-syntax.t .......... skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/01-use.t (Wstat: 256 Tests: 67 Failed: 1)
Failed test: 22
Non-zero exit status: 1
t/05-listener-anyevent.t (Wstat: 65280 Tests: 18 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 163 tests but ran 18.
t/05-listener.t (Wstat: 65280 Tests: 18 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 163 tests but ran 18.
t/06-hub.t (Wstat: 512 Tests: 26 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 70 tests but ran 26.
t/07-client-hubless.t (Wstat: 65280 Tests: 5 Failed: 3)
Failed tests: 3-5
Non-zero exit status: 255
Parse errors: Bad plan. You planned 19 tests but ran 5.
t/07-client-ping.t (Wstat: 65280 Tests: 5 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 10 tests but ran 5.
t/07-client-stealth.t (Wstat: 65280 Tests: 5 Failed: 2)
Failed tests: 4-5
Non-zero exit status: 255
Parse errors: Bad plan. You planned 14 tests but ran 5.
t/07-client.t (Wstat: 65280 Tests: 10 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 51 tests but ran 10.
t/08-bridge-client.t (Wstat: 65280 Tests: 9 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 12 tests but ran 9.
t/08-bridge.t (Wstat: 7424 Tests: 7 Failed: 0)
Non-zero exit status: 29
Parse errors: Bad plan. You planned 47 tests but ran 7.
t/14-dock-apcups.t (Wstat: 512 Tests: 6 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 28 tests but ran 6.
t/14-dock-datetime.t (Wstat: 512 Tests: 5 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 11 tests but ran 5.
t/14-dock-dmx.t (Wstat: 6400 Tests: 11 Failed: 0)
Non-zero exit status: 25
Parse errors: Bad plan. You planned 72 tests but ran 11.
t/14-dock-easydaq.t (Wstat: 65280 Tests: 10 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 29 tests but ran 10.
t/14-dock-hddtemp.t (Wstat: 512 Tests: 6 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 19 tests but ran 6.
t/14-dock-heyu.t (Wstat: 6400 Tests: 4 Failed: 0)
Non-zero exit status: 25
Parse errors: Bad plan. You planned 27 tests but ran 4.
t/14-dock-lcdproc.t (Wstat: 7424 Tests: 7 Failed: 0)
Non-zero exit status: 29
Parse errors: Bad plan. You planned 113 tests but ran 7.
t/14-dock-linux.t (Wstat: 3328 Tests: 3 Failed: 0)
Non-zero exit status: 13
Parse errors: Bad plan. You planned 11 tests but ran 3.
t/14-dock-lirc.t (Wstat: 7424 Tests: 7 Failed: 0)
Non-zero exit status: 29
Parse errors: Bad plan. You planned 15 tests but ran 7.
t/14-dock-mythtv.t (Wstat: 512 Tests: 6 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 21 tests but ran 6.
t/14-dock-owfs.t (Wstat: 6400 Tests: 4 Failed: 0)
Non-zero exit status: 25
Parse errors: Bad plan. You planned 28 tests but ran 4.
t/14-dock-udin.t (Wstat: 65280 Tests: 10 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 33 tests but ran 10.
t/14-dock-viom.t (Wstat: 6400 Tests: 10 Failed: 0)
Non-zero exit status: 25
Parse errors: Bad plan. You planned 63 tests but ran 10.
Files=72, Tests=2739, 15 wallclock secs ( 0.61 usr 0.27 sys + 10.81 cusr 1.66 csys = 13.35 CPU)
Result: FAIL
Failed 23/72 test programs. 6/2739 subtests failed.
make: *** [test_dynamic] Error 255
I first tried with version 0.11 then with latest source. Results are very similar.
I hope you can give me some advice.
Hello,
I tried to install xpl-perl on my iMac (clean install of Lion) but didn't succeed. Many tests don't pass and I don't know what to do. DCM (xpl4java) doesn't connect to the hub.
Here's the result of
perl Makefile.PL:And result of
make test(after amake, of course) :I first tried with version 0.11 then with latest source. Results are very similar.
I hope you can give me some advice.
Thank you !