Chinaunix

标题: cpan怎么用阿? [打印本页]

作者: anyfox    时间: 2006-03-27 17:27
标题: cpan怎么用阿?
我的问题是在出现下面的选项我就不知道怎么用了,尝试了好多遍
不明白要填什么啊! 大家帮忙啊!  


You have no /root/.cpan/sources/MIRRORED.BY
  I'm trying to fetch one
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
Fetching with LWP:
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
Fetching with Net::FTP
  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz

Trying with "/usr/bin/links -source" to get
    ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY


Now we need to know where your favorite CPAN sites are located. Push
a few sites onto the array (just in case the first on the array won't
work). If you are mirroring CPAN to your local workstation, specify a
file: URL.

First, pick a nearby continent and country (you can pick several of
each, separated by spaces, or none if you just want to keep your
existing selections). Then, you will be presented with a list of URLs
of CPAN mirrors in the countries you selected, along with previously
selected URLs. Select some of those URLs, or just keep the old list.
Finally, you will be prompted for any extra URLs -- file:, ftp:, or
http: -- that host a CPAN mirror.

Select your continent (or several nearby continents) []  《〈 这里我写什么啊?
作者: apile    时间: 2006-03-27 17:30
perldoc CPAN
先看看...
作者: anyfox    时间: 2006-03-29 10:00
标题: ok 再问一下
呵呵,e文可以看懂,但是我没用过,所以不知道添一个什么样格式的镜像

我尝试添过网上搜来的CPAN的网址但是都不对啊!

Select your continent (or several nearby continents) [] ftp://mirrors.24-7-solutions.net/pub/CPAN/
invalid items entered, try again




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2