[Koha] Perl Module issues

Marty ontariowolf64 at yahoo.com
Mon Jun 4 06:38:28 NZST 2012


After succesfully (and without any problems) having upgraded koha to 3.8.0 from 3.06.04 on my dual booted laptop I attempted to do the same on the main machine, both running Debian Squeeze.

 
Doing the regular $ ./koha_perl_deps.pl -u -m it came up with the following list (and an error, but that does not seem to be an issue);
 
[Sun Jun  3 12:17:35 2012] koha_perl_deps.pl: Use of uninitialized value $version in numeric lt (<) at /usr/local/share/perl/5.10.1/Modern/Perl.pm line 25.
[Sun Jun  3
 12:17:35 2012] koha_perl_deps.pl: Use of uninitialized value $version in numeric lt (<) at /usr/local/share/perl/5.10.1/Modern/Perl.pm line 25.
                                              Installed         Required          Module is
Module Name                                   Version           Version           
 Required
--------------------------------------------------------------------------------------------
DateTime                                 0 *               0.58                    Yes
DateTime::Event::ICal               0 *               0.08                    Yes
DateTime::Format::DateParse   0 *               0.04                    Yes
DateTime::Format::ICal             0 *               0.09                    Yes
DateTime::Set                           0 *               0.28                    Yes
DateTime::TimeZone                0 *               1.26                    Yes
XML::RSS                                0 *               1.31                    Yes
--------------------------------------------------------------------------------------------
Total modules reported: 7                      * Module is missing or requires an upgrade.
 
So I start doing the cpan magic, and while initially this list was getting shorter (I was down to 3 or 4 missing modules) it suddenly returned to the 7 missing modules. Huh?
 
I installed/updated all 7 modules, but it does not seem to matter;

Trying to do a sudo cpan DateTime::Set for example, results in DateTime::Set is up to date (0.31), and so for all the modules; they are either the required version or higher. The only module that did not install easily was XML::RSS, which I had to install with -force
$ ./koha_perl_deps.pl -u -m keeps insisting that they are missing or require an upgrade...


 
Trying with the courage of the desperate to run $ perl Makefile.PL --prev-install-log /usr/share/koha/misc/koha-install-log results in the following:
 
Can't locate Data/OptList.pm in @INC (@INC contains: /home/biblios/Downloads/koha-3.8.0 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.10.1/Class/Load.pm line 8.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/Class/Load.pm line 8.
Compilation failed in require at /usr/local/share/perl/5.10.1/DateTime/TimeZone/Local.pm line 9.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/DateTime/TimeZone/Local.pm line 9.
Compilation failed in require at /usr/local/share/perl/5.10.1/DateTime/TimeZone.pm line 13.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/DateTime/TimeZone.pm line 13.
Compilation failed in require at
 /home/biblios/Downloads/koha-3.8.0/C4/Context.pm line 107.
BEGIN failed--compilation aborted at /home/biblios/Downloads/koha-3.8.0/C4/Context.pm line 107.
Compilation failed in require at /home/biblios/Downloads/koha-3.8.0/C4/Installer.pm line 24.
BEGIN failed--compilation aborted at /home/biblios/Downloads/koha-3.8.0/C4/Installer.pm line 24.
Compilation failed in require at Makefile.PL line 31.
BEGIN failed--compilation aborted at Makefile.PL line 31.
 
Now I am at a loss what could be wrong or where to look. Any ideas are most welcome.

Thanks,

Marty


More information about the Koha mailing list