简体   繁体   English

MiniCPAN镜像上运行的CPAN :: Tarzip的问题

[英]problems with CPAN::Tarzip running on a MiniCPAN mirror

I created a local repository with minicpan in a Linux box, and then moved it to a Windows that has no access to online CPAN. 我在Linux框中使用minicpan创建了一个本地存储库,然后将其移动到无法访问在线CPAN的Windows。 But I'm getting this error messages when I try to use it: 但是,当我尝试使用它时,我收到以下错误消息:

cpan> install PowerBuilder::ORCA
Reading 'C:\Perl\minicpan\authors\01mailrc.txt.gz'
Use of uninitialized value $command in concatenation (.) or string at C:\Perl\site\lib/CPAN/Tarzip.pm line 161.
"-qdt" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.
............................................................................DONE
Reading 'C:\Perl\minicpan\modules\02packages.details.txt.gz'
Use of uninitialized value $command in concatenation (.) or string at C:\Perl\site\lib/CPAN/Tarzip.pm line 161.
"-qdt" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.
Warning: Your C:\Perl\minicpan\modules\02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to
happen.
Caught SIGINT, trying to continue
Warning: Your C:\Perl\minicpan\modules\02packages.details.txt.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to
happen.
Got another SIGINT
Reading 'C:\Perl\minicpan\authors\01mailrc.txt.gz'
Use of uninitialized value $command in concatenation (.) or string at C:\Perl\site\lib/CPAN/Tarzip.pm line 161.
"-qdt" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.

I'm suspecting this could be because of different carriage returns, but if someone has another idea about why this might be, it would be great. 我怀疑这可能是因为回车不同,但是如果有人对为什么会这样有另一个想法,那会很棒。 Also if it's because of carriage returns, do you have any idea on how to fix this without downloading the whole repository again on a Windows machine? 另外,如果是由于回车引起的,您是否有解决此问题的想法,而无需在Windows计算机上再次下载整个存储库?

Delete the CPAN configuration and run its first-time configuration again. 删除CPAN配置并再次运行其首次配置。

It's still referencing eg the Linux path to tar , and using ANSI terminal escapes for colours. 它仍然引用例如tar的Linux路径,并使用ANSI终端转义符来显示颜色。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM