[Koha] Koha upgrade to 3.2.1 issue with DBD::Sqlite2 and PDF::API2::Simple
Randall Rowe
r.rowe at lincolnlibraries.org
Sat Jan 8 02:29:56 NZDT 2011
Hi Ann,
You shouldn't have to reinstall perl. When you do the cpan install you should see something like
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
followed by a successful install message now that Makefile completed.
What new errors are you getting?
Randy Rowe
Lincoln City Libraries I.T.
-----Original Message-----
From: "Peace Pear" <nemo3407 at yahoo.com>
Sent 1/6/2011 7:03:25 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
Hi Randall,
Yes, I did both. Do the makefile.PL and then use cpan to install but still unable to make it work.
Wonder, do I need to reinstall PERL.
Ta.
Ann
--- On Fri, 7/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>
Cc: koha at lists.katipo.co.nz
Received: Friday, 7 January, 2011, 2:18 AM
Ann,
Did you actually install it or just run the Makefile build?
The output looks like you just ran the Makefile.
You need to be sure to run
cpan install PDF::API2::Simple
now that the Makefile build succeeded.
You're welcome :-)
Randy Rowe
Lincoln City Libraries I.T.
(402) 441-8523
r.rowe at lincolnlibraries.org
-----Original Message-----
From: "Peace Pear" <nemo3407 at yahoo.com>
Sent 1/5/2011 7:33:39 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 a lot Randy,
here are the results again after successfully installing yaml::tiny module.
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
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
Writing Makefile for PDF::API2::Simple
Writing META.yml
Besides, I have to do a force install for DBD:SQLite2, not sure this can affect anything.
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>
Cc: koha at lists.katipo.co.nz
Received: Thursday, 6 January, 2011, 10:22 AM
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/20110107/8b28c22e/attachment-0001.htm
More information about the Koha
mailing list