[Koha] CPAN config issues
Joe Atzberger
ohiocore at gmail.com
Thu Oct 4 17:09:54 NZST 2007
Mgabhi --
It appears that your configuration of CPAN is not working out. This may be
due to your preferred servers being unreachable or incomplete, or perhaps
you are not logged in as a privileged enough user.
You can still download a given module manually from http://search.cpan.org.
For example:
http://search.cpan.org/~esummers/MARC-Charset-0.98/lib/MARC/Charset.pm
<http://search.cpan.org/%7Eesummers/MARC-Charset-0.98/lib/MARC/Charset.pm>
But to fix the underlying problem you should probably reconfigure the CPAN
module. Use the command:
perl -MCPAN -e shell
That will open a CPAN shell. Then use "o conf" to view the current CPAN
configuration and "o conf init" to change it. Pick your preferred list of
CPAN mirrors to be systems that are reliable and responsive to you. You
might also start with "upgrade CPAN", since the latest version appears to be
only a week or two old.
The connection attempts (some successful?) to 192.168.1.254:800 are
confusing to me. That internal address is unlikely to be a correct
destination. If you notice this in your list of preferred servers, remove
it.
--joe atzberger
On 9/28/07, Mgabhi Sgombe <jamakamasali at gmail.com> wrote:
>
> Hello!
> l'm trying to install Koha on Ubuntu 7.04 but l'm
> failing.I am getting the following errors
> I am being told that some of the modules likeMARC::Charset are not there
> at CPAN . I have tried some of the available modules but l'm failing.
> Some errors are as follows:
>
> Database was generated on Tue, 25 Sep 2007 16:36:46 GMT
> Warning: Cannot install MARC::Charset, don't know what it is.
> Try the command
>
> i /MARC::Charset/
>
> to find objects with matching identifiers.
> Warning: Cannot install MARC::Lint, don't know what it is.
> Try the command
>
> i /MARC::Lint/
>
> to find objects with matching identifiers.
> Warning: Cannot install ::File::XMLLWP::Simple, don't know what it
> is.
> Try the command
>
> i /::File::XMLLWP::Simple/
>
> to find objects with matching identifiers.
> Warning: Cannot install ZOOM, don't know what it is.
> Try the command
>
> i /ZOOM/
>
> to find objects with matching identifiers.
> Warning: Cannot install PDF::Reuse::Barcode, don't know what it is.
> Try the command
>
> i /PDF::Reuse::Barcode/
>
> to find objects with matching identifiers.
> Event is up to date.
> Digest::MD5 is up to date.
> Running install for module MARC
>
> The module MARC isn't available on CPAN.
>
> Either the module has not yet been uploaded to CPAN, or it is
> temporary unavailable. Please contact the author to find out
> more about the status. Try 'i MARC'.
> PDF::API2 is up to date.
> GD::Barcode is up to date.
> Running install for module Data::Random
> Running make for A/AD/ADEO/Data-Random-0.05.tar.gz
> CPAN: LWP loaded ok
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl/5.8/CPAN.pm line 717.
> DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC (@INC contains:
> /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl) at /usr/share/perl/5.8/CPAN.pm line 705.
> ]ret[] at /usr/share/perl/5.8/CPAN.pm line 717.
> LWP not available
> CPAN: Net::FTP loaded ok
> Fetching with Net::FTP:
>
> ftp://cpan.mirror.ac.za/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl/5.8/CPAN.pm line 717.
> DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC (@INC contains:
> /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl) at /usr/share/perl/5.8/CPAN.pm line 705.
> ]ret[] at /usr/share/perl/5.8/CPAN.pm line 717.
> LWP not available
> Fetching with Net::FTP:
>
>
> ftp://ftp.is.co.za/programming/perl/CPAN/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl/5.8/CPAN.pm line 717.
> DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC (@INC contains:
> /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl) at /usr/share/perl/5.8/CPAN.pm line 705.
> ]ret[] at /usr/share/perl/5.8/CPAN.pm line 717.
> LWP not available
> Fetching with Net::FTP:
>
> ftp://ftp.saix.net/pub/CPAN/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl/5.8/CPAN.pm line 717.
> DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC (@INC contains:
> /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl) at /usr/share/perl/5.8/CPAN.pm line 705.
> ]ret[] at /usr/share/perl/5.8/CPAN.pm line 717.
> LWP not available
> Fetching with Net::FTP:
>
>
> ftp://carroll.cac.psu.edu/pub/CPAN/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl/5.8/CPAN.pm line 717.
> DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC (@INC contains:
> /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl) at /usr/share/perl/5.8/CPAN.pm line 705.
> ]ret[] at /usr/share/perl/5.8/CPAN.pm line 717.
> LWP not available
> Fetching with Net::FTP:
> ftp://cpan.cse.msu.edu/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl/5.8/CPAN.pm line 717.
> DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC (@INC contains:
> /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl) at /usr/share/perl/5.8/CPAN.pm line 705.
> ]ret[] at /usr/share/perl/5.8/CPAN.pm line 717.
> LWP not available
> Fetching with Net::FTP:
>
>
> ftp://archive.progeny.com/CPAN/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl/5.8/CPAN.pm line 717.
> DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC (@INC contains:
> /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl) at /usr/share/perl/5.8/CPAN.pm line 705.
> ]ret[] at /usr/share/perl/5.8/CPAN.pm line 717.
> LWP not available
> Fetching with Net::FTP:
> ftp://cpan.pair.com/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
>
> Trying with "/usr/local/bin/lynx -source" to get
>
> ftp://cpan.mirror.ac.za/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> Alert!: Address has invalid port
> Alert!: Address has invalid port
>
> Looking up 192.168.1.254:800ftp:
> Alert!: Address has invalid port
> Unable to locate remote host 192.168.1.254:800ftp:.
> Alert!: Unable to connect to FTP host.
> Looking up 192.168.1.254:800ftp:
> Alert!: Address has invalid port
> Unable to locate remote host 192.168.1.254:800ftp:.
> Alert!: Unable to connect to FTP host.
>
> lynx: Can't access startfile
> ftp://cpan.mirror.ac.za/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
>
> System call "/usr/local/bin/lynx -source
> "ftp://cpan.mirror.ac.za/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz"
> > /root/.cpan/sources/authors/id/A/AD/ADEO/Data-Random-0.05.tar"
> returned status 1 (wstat 256)
> Warning: expected file
> [/root/.cpan/sources/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz]
> doesn't exist
>
> Trying with "/usr/local/bin/ncftpget" to get
>
> ftp://cpan.mirror.ac.za/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> cpan.mirror.ac.za: unknown host.
> ncftpget: cannot open cpan.mirror.ac.za: unknown host.
>
> System call "cd /root/.cpan/sources/authors/id/A/AD/ADEO &&
> /usr/local/bin/ncftpget
> "ftp://cpan.mirror.ac.za/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz"
> "
> returned status 1 (wstat 256)
> Warning: expected file
> [/root/.cpan/sources/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz]
> doesn't exist
>
> Trying with "/usr/bin/wget -O -" to get
>
> ftp://cpan.mirror.ac.za/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> --08:18:35--
> ftp://cpan.mirror.ac.za/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> => `-'
> Connecting to 192.168.1.254:800... failed: Connection timed out.
> Retrying.
>
> --08:21:45--
> ftp://cpan.mirror.ac.za/authors/id/A/AD/ADEO/Data-Random-0.05.tar.gz
> (try: 2) => `-'
> Connecting to 192.168.1.254:800... connected.
> Logging in as anonymous ...
> Error in server response, closing control connection.
> Retrying.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20071004/54dec032/attachment.htm
More information about the Koha
mailing list