[Koha] 3.4.4 Perl upgrade/rebuilding perl-modules

Perch jp at pk.dy.fi
Fri Sep 9 03:08:00 NZST 2011


I upgraded my Perl (compiled a new version from source) from 5.8.8 to 5.14.1,
because evidently Koha 3.4.4 needs a newer version of Perl than 5.8.8. Now
I'm having problems getting some of the required CPAN modules to install.
First of all:

HTTP::OAI wants a newer version of XML::SAX::Base. I have version 1.02,
while HTTP::OAI wants 1.04. However, when I try to upgrade it using CPAN,
all I get is a message saying: "XML::SAX::Base is up to date (1.02)." So, no
newer version available on CPAN?

Secondly: PDF::Reuse::Barcode wants Barcode::Code128, which it tries to
automatically install. However the installation fails (it fails if I try the
install Barcode::Code128 manually too):

Going to read '/root/.cpan/Metadata'
  Database was generated on Thu, 08 Sep 2011 09:28:48 GMT
Running install for module 'Barcode::Code128'
Running make for W/WR/WRW/Barcode-Code128-2.01.tar.gz
Checksum for
/root/.cpan/sources/authors/id/W/WR/WRW/Barcode-Code128-2.01.tar.gz ok

  CPAN.pm: Going to build W/WR/WRW/Barcode-Code128-2.01.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Barcode::Code128
Writing MYMETA.yml
cp lib/Barcode/Code128.pm blib/lib/Barcode/Code128.pm
Manifying blib/man3/Barcode::Code128.3
  WRW/Barcode-Code128-2.01.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/lib/perl5/perl-5.14.1/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/barcode.t .. ok   
t/gif.t ...... skipped: (no reason given)
t/png.t ...... skipped: (no reason given)

Test Summary Report
-------------------
t/gif.t    (Wstat: 0 Tests: 1 Failed: 1)
  Failed test:  1
  Parse errors: Bad plan.  You planned 0 tests but ran 1.
t/png.t    (Wstat: 0 Tests: 1 Failed: 1)
  Failed test:  1
  Parse errors: Bad plan.  You planned 0 tests but ran 1.
Files=3, Tests=4,  0 wallclock secs ( 0.05 usr  0.00 sys +  0.04 cusr  0.01
csys =  0.10 CPU)
Result: FAIL
Failed 2/3 test programs. 2/4 subtests failed.
make: *** [test_dynamic] Error 255
  WRW/Barcode-Code128-2.01.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports WRW/Barcode-Code128-2.01.tar.gz
Running make install
  make test had returned bad status, won't install without force

Thirdly, the installtion of Schedule::At fails:

Going to read '/root/.cpan/Metadata'
  Database was generated on Thu, 08 Sep 2011 09:28:48 GMT
Running install for module 'Schedule::At'
Running make for J/JO/JOSERODR/Schedule-At-1.13.tar.gz
Checksum for
/root/.cpan/sources/authors/id/J/JO/JOSERODR/Schedule-At-1.13.tar.gz ok

  CPAN.pm: Going to build J/JO/JOSERODR/Schedule-At-1.13.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Schedule::At
Writing MYMETA.yml and MYMETA.json
cp At.pm blib/lib/Schedule/At.pm
Manifying blib/man3/Schedule::At.3
  JOSERODR/Schedule-At-1.13.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/lib/perl5/perl-5.14.1/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
t/t1.t .. 1/9 # Failed test 2 in t/t1.t at line 45
#  t/t1.t line 45 is: ok(!$rv && ((scalar(keys %beforeJobs)+1) ==
scalar(keys %afterJobs)));
# Failed test 3 in t/t1.t at line 48
#  t/t1.t line 48 is: ok(%atJobs);
# Test 4 got: <UNDEF> (t/t1.t at line 51)
#   Expected: "/thisIsACommand/"
#  t/t1.t line 51 is: ok($content, '/thisIsACommand/');
# Test 6 got: "" (t/t1.t at line 73)
#   Expected: "/^(_TEST_tag1)+$/"
#  t/t1.t line 73 is: ok(join('', map { $_->{TAG} } values %tag1Jobs),
'/^(_TEST_tag1)+$/');
# Test 7 got: <UNDEF> (t/t1.t at line 76)
#   Expected: "/testCMD2/"
#  t/t1.t line 76 is: ok($content2, '/testCMD2/');
# Test 8 got: <UNDEF> (t/t1.t at line 77)
#   Expected: "/testCMD3/"
#  t/t1.t line 77 is: ok($content2, '/testCMD3/');
t/t1.t .. Failed 6/9 subtests 

Test Summary Report
-------------------
t/t1.t (Wstat: 0 Tests: 9 Failed: 6)
  Failed tests:  2-4, 6-8
Files=1, Tests=9,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.04 cusr  0.07
csys =  0.15 CPU)
Result: FAIL
Failed 1/1 test programs. 6/9 subtests failed.
make: *** [test_dynamic] Error 255
  JOSERODR/Schedule-At-1.13.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports JOSERODR/Schedule-At-1.13.tar.gz
Running make install
  make test had returned bad status, won't install without force

I tried installing ExtUtils::Command::MM, which went ok, but didn't help
any.

--
View this message in context: http://koha.1045719.n5.nabble.com/3-4-4-Perl-upgrade-rebuilding-perl-modules-tp4782778p4782778.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.


More information about the Koha mailing list