[Koha] 8 Perl Modules are Not Detected by koha_perl_deps.pl on VDS (was Re: Installing Koha on CentOS+cPanel Hosting Server)
Bernardo Gonzalez Kriegel
bgkriegel at gmail.com
Tue Jun 26 01:28:59 NZST 2012
Andi,
how are you executing koha_perl_deps.pl?
koha_perl_deps.pl has as first line "#!/usr/bin/perl", then if you execute
it like "./koha_perl_deps.pl" then the "old"
interpreter could not find your modules.
Try "/usr/local/bin/perl koha_perl_deps.pl"
--
Bernardo Gonzalez Kriegel
bgkriegel at gmail.com
On Mon, Jun 25, 2012 at 5:12 AM, Andi Sugandi <andisugandi at gmail.com> wrote:
> Hi all,
>
> On Mon, Jun 4, 2012 at 7:07 PM, Bernardo Gonzalez Kriegel
> <bgkriegel at gmail.com> wrote:
> > Hi,
> >
> >> cPanel only provides Perl 5.8, but Perl module Modern::Perl can only
> >> be installed on Perl 5.10 environment[1].
> >>
> > Koha (last versions) can only be installed on Perl >= 5.10
> >
> >
> >> What do you think?
> >>
> > In a situation like yours, I have downloaded and compiled Perl (on
> > /usr/local, 5.14),
> > then I installed all the required modules from CPAN (a long long work)
> > Then Koha. It works.
> >
> >> Get rid of cPanel and start providing Perl modules based on CentOS
> >> environment will simplify the installing process of Koha?
> >>
> > My advice would be not to touch anything in the system.
> > Only install what is needed by Koha in /usr/local
>
> I'm running Perl 5.16 now, installed manually in /usr/local directory:
>
> # perl -v | grep version
> This is perl 5, version 16, subversion 0 (v5.16.0) built for x86_64-linux
>
> Then trying to see whether all required Perl modules are already
> installed or not. But unfortunately something happened: There are 8
> left, not detected by 'koha_perl_deps.pl' script [0], though these
> modules are already in place:
>
> cpan[1]> install CGI
> Reading '/root/.cpan/Metadata'
> Database was generated on Sat, 23 Jun 2012 16:47:04 GMT
> CGI is up to date (3.59).
>
> cpan[2]> install CGI::Carp
> CGI::Carp is up to date (3.51).
>
> cpan[3]> install Digest::SHA
> Digest::SHA is up to date (5.71).
>
> cpan[4]> install HTTP::OAI
> HTTP::OAI is up to date (3.28).
>
> cpan[5]> install Net::Z3950::ZOOM
> Net::Z3950::ZOOM is up to date (1.28).
>
> cpan[6]> install Template::Plugin::HtmlToText
> Template::Plugin::HtmlToText is up to date (0.03).
>
> cpan[7]> install Test::Harness
> Test::Harness is up to date (3.25).
>
> cpan[8]> install Test::More
> Test::More is up to date (0.98).
>
> [0] http://paste.opensuse.org/view/simple/94354226
>
> Does it mean that the Perl environment is not configured properly? How
> to solve this issue?
>
> Any help will be very much appreciated.
>
> Thanks in advance.
>
> Best regards,
> --
> Andi Sugandi.
>
More information about the Koha
mailing list