Installation error for module in CentOS 5.0 for HTML::Mason
am 19.06.2007 04:03:01 von kwanHi Guru !
I install HTML::Mason package, the error message resist even I try to
build or install using Perl -MCPAN -e shell. I very new to the Linux
environment, it is install successfully for my Windows. I using CentOS
5.0, perl v 5.8.8
==========================================
Error message for Perl Build.PL
--------------------------
[root@popple HTML-Mason-1.36]# perl Build.PL
Can't locate Module/Build.pm in @INC (@INC contains: inc /usr/lib64/
perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/
site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/
5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/
x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/
perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/
site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/
5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/
x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-
linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/
vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/
vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/
x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at inc/Mason/
Build.pm line 6.
BEGIN failed--compilation aborted at inc/Mason/Build.pm line 6.
Compilation failed in require at Build.PL line 7.
BEGIN failed--compilation aborted at Build.PL line 7.
============================================================ =====
Perl -MCPAN -e shell
CPAN> install HTML::Mason
I think the error may be the internet connection, if I have internet
connect the problem may be solved, however my linux doesn't support
the internet.
---------
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Warning: Found only 0 objects in /root/.cpan/Metadata
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname
'ftp.perl.org']
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/
authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz]
doesn't exist
Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/authors/
01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz]
doesn't exist
Issuing "/usr/kerberos/bin/ftp -n"
unknown host
Not connected.
Local directory now /root/.cpan/sources/authors
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz.
Please check, if the URLs I found in your configuration file () are
valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'
Could not fetch authors/01mailrc.txt.gz
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.g z
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname
'ftp.perl.org']
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.g z
Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.g z
System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/
modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/
02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/
02packages.details.txt.gz] doesn't exist
Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.g z
System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/modules/
02packages.details.txt.gz" > /root/.cpan/sources/modules/
02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/
02packages.details.txt.gz] doesn't exist
Issuing "/usr/kerberos/bin/ftp -n"
unknown host
Not connected.
Local directory now /root/.cpan/sources/modules
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.g z.
Please check, if the URLs I found in your configuration file () are
valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'
Could not fetch modules/02packages.details.txt.gz
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname
'ftp.perl.org']
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/
modules/03modlist.data.gz" > /root/.cpan/sources/modules/
03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz]
doesn't exist
Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/modules/
03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz]
doesn't exist
Issuing "/usr/kerberos/bin/ftp -n"
unknown host
Not connected.
Local directory now /root/.cpan/sources/modules
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz.
Please check, if the URLs I found in your configuration file () are
valid.
The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/'
Could not fetch modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Warning: Cannot install Bundle::HTML::Mason, don't know what it is.
Try the command
i /Bundle::HTML::Mason/
to find objects with matching identifiers.
------------
Thank you