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

Peace Pear nemo3407 at yahoo.com
Tue Jan 11 11:26:41 NZDT 2011


Hi Ian,
 
Thanks a lot for your advice. It does work, but I have to delete the yml file also, then run cpan install again.
Now, I run the depedencies test for koha-3.02.01
 
Module Name                                 Current Version                       Required Version         Module Required
--------------------------------------------------------------------------------------------------------------------------
Graphics::Magick                            1.2.5 *                               1.3.5                    No
--------------------------------------------------------------------------------------------------------------------------
Total modules reported: 1                                                     * Module is missing or requires an upgrade.
 
 
It seems that Magick cannot be installed through cpan, cause I get the error said
 
Warning: Cannot install Graphics::Magick, don't know what it is.

 
However, the dependencies said that this module is not required. Not sure I get the right message here.

Thanks a lot again
 
Ann
--- On Sat, 8/1/11, Ian Walls <ian.walls at bywatersolutions.com> wrote:


From: Ian Walls <ian.walls at bywatersolutions.com>
Subject: Re: [Koha] Koha upgrade to 3.2.1 issue with DBD::Sqlite2 and PDF::API2::Simple
To: "Randall Rowe" <r.rowe at lincolnlibraries.org>
Cc: "peace pear" <nemo3407 at yahoo.com>, koha at lists.katipo.co.nz
Received: Saturday, 8 January, 2011, 3:46 AM


If you've attempted to install PDF::API2::Simple from CPAN before installing Module::Install, you'll need to manually delete the previously unwrapped directory (the /root/.cpan/build/PDF-API2-Simple-1.1.4-vDfJo3 part in Randy's example).  Then, doing the "install PDF::API2::Simple" command again in CPAN should work.

Hope this helps!


-Ian


2011/1/7 Randall Rowe <r.rowe at lincolnlibraries.org>

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




More information about the Koha mailing list