baishi0502 2007-4-8 01:14
在linux下安装bugzilla时出现的问题
我安装了perl5.6.1后,在安装其模块时,用命令让其自动安装,可是每次都提示:
Fetching with LWP:
[url]ftp://ftp.cuhk.edu.hk/pub/packages/perl/CPAN/authors/01mailrc.txt.gz[/url]
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname 'ftp.cuhk.edu.hk']
Fetching with Net::FTP:
[url]ftp://ftp.cuhk.edu.hk/pub/packages/perl/CPAN/authors/01mailrc.txt.gz[/url]
Trying with "/usr/bin/wget -O -" to get
[url]ftp://ftp.cuhk.edu.hk/pub/packages/perl/CPAN/authors/01mailrc.txt.gz[/url]
--01:06:41-- [url]ftp://ftp.cuhk.edu.hk/pub/packages/perl/CPAN/authors/01mailrc.txt.gz[/url]
=> `-'
Resolving ftp.cuhk.edu.hk... failed: Host not found.
System call "/usr/bin/wget -O - "ftp://ftp.cuhk.edu.hk/pub/packages/perl/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/bin/ftp -n"
ftp: ftp.cuhk.edu.hk: Temporary failure in name resolution
Not connected.
Local directory now /root/.cpan/sources/authors
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
之类.,为什么会这样?有高手解答一下吗?
云层 2007-4-10 10:14
看这个错误是在找ftp.cuhk.edu.hk下载模块吧?
你正好有防火墙过不去。请下载一个完整的perl