[Koha] Koha upgrade to 3.2.1 issue with DBD::Sqlite2 and PDF::API2::Simple

Randall Rowe r.rowe at lincolnlibraries.org
Thu Jan 6 10:22:49 NZDT 2011


Ann,

 Start by solving the first error in the list which is

 Can't locate YAML/Tiny.pm

 try installing YAML::Tiny with cpan.

 then try reinstalling the PDF::API2 module

 You're welcome.

Randy Rowe
 Lincoln City Libraries I.T. 
 -----Original Message-----
 From: "Peace Pear" <nemo3407 at yahoo.com>
 Sent 1/5/2011 3:17:34 PM
 To: "Randall Rowe" <r.rowe at lincolnlibraries.org>
 Cc: koha at lists.katipo.co.nz
 Subject: Re: [Koha] Koha upgrade to 3.2.1 issue with DBD::Sqlite2 and PDF::API2::Simple

Thanks Randall for looking at this. 

I did what you said, then here are more detais: 

Koha:~/.cpan/build/PDF-API2-Simple-1.1.4-vDfJo3 # perl Makefile.PL  

include /root/.cpan/build/PDF-API2-Simple-1.1.4-vDfJo3/inc/Module/Install.pm  

Can't locate YAML/Tiny.pm in @INC (@INC contains: inc /usr/webpages/koha/lib /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.10.0/Module/Install/Admin/Metadata.pm line 4.  

BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/Module/Install/Admin/Metadata.pm line 4.  

Compilation failed in require at inc/Module/Install.pm line 307.  

include inc/Module/Install/Metadata.pm  

include inc/Module/Install/Base.pm  

include inc/Module/Install/Makefile.pm  

Cannot determine perl version info from lib/PDF/API2/Simple.pm  

Cannot determine author info from lib/PDF/API2/Simple.pm  

Cannot determine license info from lib/PDF/API2/Simple.pm  

include inc/Module/Install/AutoInstall.pm  

include inc/Module/Install/Include.pm  

include inc/Module/AutoInstall.pm  

*** Module::AutoInstall version 1.03  

*** Checking for Perl dependencies...  

[Core Features]  

- Carp      ...loaded. (1.08)  

- PDF::API2 ...loaded. (2.011)  

*** Module::AutoInstall configuration finished.  

include inc/Module/Install/WriteAll.pm  

include inc/Module/Install/Win32.pm  

include inc/Module/Install/Can.pm  

include inc/Module/Install/Fetch.pm  

Checking if your kit is complete...  

Looks good  

Writing Makefile for PDF::API2::Simple  

Cannot find an extension with method 'write_meta' at /usr/lib/perl5/site_perl/5.10.0/Module/Install/Admin.pm line 186.  

 Thanks again, 

Ann
 --- On Thu, 6/1/11, Randall Rowe <r.rowe at lincolnlibraries.org> wrote:

 From: Randall Rowe <r.rowe at lincolnlibraries.org>
 Subject: Re: [Koha] Koha upgrade to 3.2.1 issue with DBD::Sqlite2 and PDF::API2::Simple
 To: "Peace Pear" <nemo3407 at yahoo.com>
 Received: Thursday, 6 January, 2011, 8:49 AM

From a command prompt/ terminal as root run

 cd /root/.cpan/build/PDF-API2-Simple-1.1.4-vDfJo3
 /usr/bin/perl Makefile.PL

 and see what errors you get back. The cpan interface tends to eat these.
 That package is probably looking for another build package that is not installed.

Randy Rowe
 Lincoln City Libraries I.T. 
 -----Original Message-----
 From: "Peace Pear" <nemo3407 at yahoo.com>
 Sent 1/4/2011 7:42:57 PM
 To: koha at lists.katipo.co.nz
 Subject: [Koha] Koha upgrade to 3.2.1 issue with DBD::Sqlite2 and PDF::API2::Simple

Hi there, 

I am Ann. I am trying to upgrade from Koha 3.00.05 to 3.02.01, but keep get the message for lacking 3 prerequitesite: 

DBD::SQLite2 (I have the SQLite but not Sqlite2, trying to find the SQlite 2 for opensuse but still can't) 

Graphics::Magick (the same issue, I used yast2 to install but just found the version 1.2.5 not the 1.3.5 as requried) 

PDF::API2::Simple (looks like it is there, but keep bumping to errors: 

Running install for module 'PDF::API2::Simple'
 Running make for R/RE/REDTREE/PDF-API2-Simple-1.1.4u.tar.gz
   Has already been unwrapped into directory /root/.cpan/build/PDF-API2-Simple-1.1.4-vDfJo3
   '/usr/bin/perl Makefile.PL' returned status 2304, won't make
 Running make test
   Make had some problems, won't test
 Running make install
   Make had some problems, won't install 

Does anyone have any ideas how to get around these issues ? I search on the forum but find the solution mostly for Ubuntu not Open Suse 11.1. 

Many thanks in advance, 

Ann     

_______________________________________________ Koha mailing list http://koha-community.org Koha at lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20110105/9346f5f1/attachment-0001.htm 


More information about the Koha mailing list