Closed janpekar closed 11 years ago
I'm using that same version of perl without any problems. Can you post a minimal example of the code that generated that error?
I have to confess, that I force install to get it installed - I'm getting that error even when I try to install that module (live-test is failing). See cpan install log below:
CPAN: Storable loaded ok (v2.27) Going to read '/root/.cpan/Metadata' Database was generated on Wed, 10 Jul 2013 12:53:05 GMT CPAN: Module::CoreList loaded ok (v2.49_02) Running install for module 'WWW::Workflowy' Running make for S/SW/SWALTERS/WWW-Workflowy-0.3.tar.gz CPAN: Digest::SHA loaded ok (v5.61) CPAN: Compress::Zlib loaded ok (v2.033) Checksum for /root/.cpan/sources/authors/id/S/SW/SWALTERS/WWW-Workflowy-0.3.tar.gz ok CPAN: Archive::Tar loaded ok (v1.76) ./ ./WWW-Workflowy-0.3/ ./WWW-Workflowy-0.3/MANIFEST ./WWW-Workflowy-0.3/lib/ ./WWW-Workflowy-0.3/lib/WWW/ ./WWW-Workflowy-0.3/lib/WWW/Workflowy.pm ./WWW-Workflowy-0.3/manual_test.pl ./WWW-Workflowy-0.3/Makefile.PL ./WWW-Workflowy-0.3/META.json ./WWW-Workflowy-0.3/t/ ./WWW-Workflowy-0.3/t/001-utilities.t ./WWW-Workflowy-0.3/t/002-concurrent-remote-ops.t ./WWW-Workflowy-0.3/t/003-live-test.t ./WWW-Workflowy-0.3/META.yml CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.110440)
CPAN.pm: Going to build S/SW/SWALTERS/WWW-Workflowy-0.3.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Workflowy
Writing MYMETA.yml
cp lib/WWW/Workflowy.pm blib/lib/WWW/Workflowy.pm
cp manual_test.pl blib/lib/WWW/manual_test.pl
Manifying blib/man3/WWW::Workflowy.3pm
SWALTERS/WWW-Workflowy-0.3.tar.gz
/usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001-utilities.t .............. # parent of root level node
t/001-utilities.t .............. 1/? # parent of non-root level node
t/001-utilities.t .............. ok
t/002-concurrent-remote-ops.t .. ok
t/003-live-test.t .............. Can't modify non-lvalue subroutine call at lib/WWW/Workflowy.pm line 170.
t/003-live-test.t .............. Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/003-live-test.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=3, Tests=27, 2 wallclock secs ( 0.05 usr 0.01 sys + 0.59 cusr 0.05 csys = 0.70 CPU) Result: FAIL Failed 1/3 test programs. 0/27 subtests failed. make: *\ [test_dynamic] Error 255 SWALTERS/WWW-Workflowy-0.3.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SWALTERS/WWW-Workflowy-0.3.tar.gz Running make install Appending installation info to /usr/local/lib/perl/5.14.2/perllocal.pod SWALTERS/WWW-Workflowy-0.3.tar.gz /usr/bin/make install -- OK
D'oh. The module on the CPAN isn't related to this one. This is actually a bug in https://github.com/scrottie/WWW-Workflowy.
I tried to use library www-workflowy from cpan (version 0.3) but I ended with
Can't modify non-lvalue subroutine call at /usr/local/share/perl/5.14.2/WWW/Workflowy.pm line 170.
What should I do to make it work?