|
Posted by kwan on June 18, 2007, 10:03 pm
Please log in for more thread options
Hi 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.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/02packages.details.txt.gz
Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
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.gz
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.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/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
|
| Similar Threads | Posted | | HTML::Mason | March 7, 2005, 7:45 am |
| Trying to get HTML::Mason running, stuff out-of-date? | October 6, 2004, 5:28 pm |
| HTML::Mason handle nonexistent directories | June 14, 2005, 12:45 pm |
| HTML::Mason, mod_perl on Win32 w/ActiveState Perl | December 21, 2004, 11:46 pm |
| trying to use HTML::Mason on apache2 but scripts come up as plain text in the browser | October 23, 2006, 1:50 am |
| error: no suitable installation target found for package Time-HiRes | February 26, 2005, 5:55 am |
| HTML::Parser error | December 1, 2005, 8:31 am |
| HTML::Pullparser error | April 4, 2006, 5:15 am |
| Mason install problems. | July 26, 2004, 2:54 pm |
| Perl module installation | April 11, 2005, 9:55 am |
|