Perl 由于缺少一些参数,配置对话框正在再次运行

Perl 由于缺少一些参数,配置对话框正在再次运行,perl,cpan,Perl,Cpan,每当我开始使用cpan时 perl -MCPAN -eshell 我得到以下信息 Sorry, we have to rerun the configuration dialog for CPAN.pm due to some missing parameters... Will write to <</home/chankey/.cpan/CPAN/MyConfig.pm>> The following questions are intended to h

每当我开始使用cpan时

perl -MCPAN -eshell
我得到以下信息

Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters...  Will write to
 <</home/chankey/.cpan/CPAN/MyConfig.pm>>



The following questions are intended to help you with the
configuration. The CPAN module needs a directory of its own to cache
important index files and maybe keep a temporary mirror of CPAN files.
This may be a site-wide or a personal directory.



I see you already have a  directory
    /home/chankey/.cpan
Shall we use it as the general CPAN build and cache directory?

 <cpan_home>
CPAN build and cache directory? [/home/chankey/.cpan] 

Unless you are accessing the CPAN on your filesystem via a file: URL,
CPAN.pm needs to keep the source files it downloads somewhere. Please
supply a directory where the downloaded files are to be kept.

 <keep_source_where>
Download target directory? [/home/chankey/.cpan/sources] 

 <build_dir>
Directory where the build process takes place? [/home/chankey/.cpan/build] 

Normally CPAN.pm keeps config variables in memory and changes need to
be saved in a separate 'o conf commit' command to make them permanent
between sessions. If you set the 'auto_commit' option to true, changes
to a config variable are always automatically committed to disk.

 <auto_commit>
Always commit changes to config variables to disk? [no] 

CPAN.pm can limit the size of the disk area for keeping the build
directories with all the intermediate files.

 <build_cache>
Cache size for build directory (in MB)? [100] 

The CPAN indexes are usually rebuilt once or twice per hour, but the
typical CPAN mirror mirrors only once or twice per day. Depending on
the quality of your mirror and your desire to be on the bleeding edge,
you may want to set the following value to more or less than one day
(which is the default). It determines after how many days CPAN.pm
downloads new indexes.

 <index_expire>
Let the index expire after how many days? [1] 

By default, each time the CPAN module is started, cache scanning is
performed to keep the cache size in sync. To prevent this, answer
'never'.

 <scan_cache>
Perform cache scanning (atstart or never)? [atstart] 

To considerably speed up the initial CPAN shell startup, it is
possible to use Storable to create a cache of metadata. If Storable is
not available, the normal index mechanism will be used.

Note: this mechanism is not used when use_sqlite is on and SQLLite is
running.

 <cache_metadata>
Cache metadata (yes/no)? [yes] 

The CPAN module can detect when a module which you are trying to build
depends on prerequisites. If this happens, it can build the
prerequisites for you automatically ('follow'), ask you for
confirmation ('ask'), or just ignore them ('ignore').  Choosing
'follow' also sets PERL_AUTOINSTALL and PERL_EXTUTILS_AUTOINSTALL for
"--defaultdeps" if not already set.

Please set your policy to one of the three values.

 <prerequisites_policy>
Policy on building prerequisites (follow, ask or ignore)? [follow] 

Every Makefile.PL is run by perl in a separate process. Likewise we
run 'make' and 'make install' in separate processes. If you have
any parameters (e.g. PREFIX, UNINST or the like) you want to
pass to the calls, please specify them here.

If you don't understand this question, just press ENTER.

Typical frequently used settings:

    PREFIX=~/perl    # non-root users (please see manual for more hints)

 <makepl_arg>
Parameters for the 'perl Makefile.PL' command? [INSTALLDIRS=site] 

Parameters for the 'make' command? Typical frequently used setting:

    -j3              # dual processor system (on GNU make)

 <make_arg>
Your choice: [] 

Parameters for the 'make install' command?
Typical frequently used setting:

    UNINST=1         # to always uninstall potentially conflicting files

 <make_install_arg>
Your choice: [] 

A Build.PL is run by perl in a separate process. Likewise we run
'./Build' and './Build install' in separate processes. If you have any
parameters you want to pass to the calls, please specify them here.

Typical frequently used settings:

    --install_base /home/xxx             # different installation directory

 <mbuildpl_arg>
Parameters for the 'perl Build.PL' command? [--installdirs site] 

Parameters for the './Build' command? Setting might be:

    --extra_linker_flags -L/usr/foo/lib  # non-standard library location

 <mbuild_arg>
Your choice: [] 

Do you want to use a different command for './Build install'? Sudo
users will probably prefer:

    su root -c ./Build
 or
    sudo ./Build
 or
    /path1/to/sudo -u admin_account ./Build

 <mbuild_install_build_command>
or some such. Your choice: [./Build] 

Parameters for the './Build install' command? Typical frequently used
setting:

    --uninst 1                           # uninstall conflicting files

 <mbuild_install_arg>
Your choice: [] 



If you're accessing the net via proxies, you can specify them in the
CPAN configuration or via environment variables. The variable in
the $CPAN::Config takes precedence.

 <ftp_proxy>
Your ftp_proxy? [] 

 <http_proxy>
Your http_proxy? [] 

 <no_proxy>
Your no_proxy? [] 


Now you need to choose your CPAN mirror sites.  You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.

Would you like me to automatically choose the best CPAN mirror
sites for you? (This means connecting to the Internet and could
take a couple minutes) [yes] 

Searching for the best CPAN mirrors (please be patient) ...
................................................................................................. done!

New urllist
  ftp://ftp.mirrorservice.org/sites/ftp.funet.fi/pub/languages/perl/CPAN/
  ftp://mirror.tje.me.uk/pub/mirrors/ftp.cpan.org/
  ftp://cpan.fiat-tux.fr/
  ftp://cpan.etla.org/pub/CPAN/
  ftp://ftp.hostingromania.ro/mirrors/ftp.cpan.org/

Please remember to call 'o conf commit' to make the config permanent!

There seems to be running another CPAN process (pid 29432).  Contacting...
Other job not responding. Shall I overwrite the lockfile '/home/chankey/.cpan/.lock'? (Y/n) [y] 
cpan shell -- CPAN exploration and modules installation (v1.9456)
Enter 'h' for help.

cpan[1]> install Task::Catalyst::Tutorial
很抱歉,由于以下原因,我们必须重新运行CPAN.pm的配置对话框
缺少一些参数。。。将写信给
以下问题旨在帮助您完成以下任务:
配置CPAN模块需要自己的目录来缓存
重要的索引文件,并可能保留CPAN文件的临时镜像。
这可能是站点范围的或个人目录。
我看你已经有目录了
/home/chankey/.cpan
我们是否将其用作通用CPAN构建和缓存目录?
CPAN生成和缓存目录?[/home/chankey/.cpan]
除非您通过文件URL访问文件系统上的CPAN,
CPAN.pm需要将下载的源文件保存在某个地方。请
提供保存下载文件的目录。
下载目标目录?[/home/chankey/.cpan/sources]
生成过程发生的目录?[/home/chankey/.cpan/build]
通常CPAN.pm会将配置变量保存在内存中,并且需要更改
保存在单独的“o conf commit”命令中,使其永久化
课间休息。如果将“自动提交”选项设置为true,则
对配置变量的访问总是自动提交到磁盘。
是否始终将配置变量的更改提交到磁盘?[否]
CPAN.pm可以限制磁盘区域的大小以保持生成
包含所有中间文件的目录。
生成目录的缓存大小(MB)?[100] 
CPAN索引通常每小时重建一到两次,但是
典型的CPAN镜像每天只镜像一到两次。取决于
你镜子的质量和你想站在最前沿的愿望,
您可能希望将以下值设置为大于或小于一天
(这是默认设置)。它确定CPAN.pm后多少天
下载新索引。
让索引在多少天后过期?[1] 
默认情况下,每次启动CPAN模块时,都会执行缓存扫描
执行以保持缓存大小同步。要防止这种情况,请回答
“从来没有”。
执行缓存扫描(启动还是从不)?[开始时]
为了大大加快CPAN外壳程序的初始启动速度,需要
可以使用Storable创建元数据缓存。如果可以存储
不可用,将使用正常索引机制。
注意:当启用UseSQLite且禁用SQLLite时,不使用此机制
跑步
缓存元数据(是/否)?[是]
CPAN模块可以检测您正在尝试构建的模块
这取决于先决条件。如果发生这种情况,它可以构建
自动(“遵循”)您的先决条件,请您
确认('ask'),或者干脆忽略它们('ignore')。选择
“follow”还为设置PERL\u AUTOINSTALL和PERL\u EXTUTILS\u AUTOINSTALL
“--defaultdeps”(如果尚未设置)。
请将策略设置为三个值之一。
关于构建先决条件的政策(遵循、询问或忽略)?[以下]
每个Makefile.PL都由perl在单独的进程中运行。同样地,我们
在单独的进程中运行“make”和“make install”。如果你有
您希望输入的任何参数(例如前缀、UNINST等)
传递到呼叫,请在此处指定。
如果您不理解此问题,请按ENTER键。
典型的常用设置:
PREFIX=~/perl#非root用户(有关更多提示,请参阅手册)
“perl Makefile.PL”命令的参数?[INSTALLDIRS=站点]
“make”命令的参数?典型的常用设置:
-j3#双处理器系统(GNU制造)
您的选择:[]
“make install”命令的参数?
典型的常用设置:
UNINST=1#始终卸载可能冲突的文件
您的选择:[]
PL由perl在单独的进程中运行。我们也一样跑步
“./Build”和“./Build-install”在不同的进程中。如果你有
要传递给调用的参数,请在此处指定。
典型的常用设置:
--安装_base/home/xxx#不同的安装目录
“perl Build.PL”命令的参数?[--installdirs站点]
“/Build”命令的参数?设置可能是:
--额外链接器标志-L/usr/foo/lib非标准库位置
您的选择:[]
是否要对“./Build install”使用其他命令?洲户
用户可能更喜欢:
su root-c./Build
或
sudo./Build
或
/路径1/to/sudo-u管理员帐户/Build
或者类似的。您的选择:[/构建]
“/Build install”命令的参数?常用的典型
设置:
--uninst 1#卸载冲突文件
您的选择:[]
如果您通过代理访问网络,可以在
CPAN配置或通过环境变量。中的变量
$CPAN::Config优先。
你的ftp_代理?[] 
你的http_代理?[] 
你的无代理?[] 
现在您需要选择您的CPAN镜像站点。你可以让我
为您选择镜像,您可以从列表中选择镜像,也可以
可以手工进入。
您希望我自动选择最好的CPAN镜像吗
你的网站?(这意味着连接到Internet并可以
花几分钟[是]
正在搜索最好的CPAN镜像(请耐心等待)。。。
................................................................................................. 完成!
新URL列表
ftp://ftp.mirrorservice.org/sites/ftp.funet.fi/pub/languages/perl/CPAN/
ftp://mirror.tje.me.uk/pub/mirrors/ftp.cpan.org/
ftp://cpan.fiat-tux.fr/
ftp://cpan.etla.org/pub/CPAN/
ftp://ftp.hostingromania.ro/mirrors/ftp.cpan.org/
请记住调用'o conf commit'以使配置永久化!
似乎正在运行另一个CPAN进程(pid 29432)。接触。。。
其他工作没有响应。我是否要覆盖锁文件“/home/chankey/.cpan/.lock”?(是/否)[Y]
cpan外壳——cpan探测和模块安装(v1.9456)
输入“h”以获取帮助。
cpan[1]>安装任务::Catalyst::教程
为什么它运行配置d
o conf commit