2012-05-14 3 views
0

Linux 상자에 minicpan으로 로컬 저장소를 만든 다음 온라인 CPAN에 액세스 할 수없는 Windows로 이동했습니다. 그러나 나는 그것을 사용하려고하면이 오류 메시지를 받고 있어요 :CPAN :: Tarzip이 MiniCPAN 미러에서 실행 중임

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. 

을 나는이 때문에 다른 캐리지 리턴이 될 수 의심 해요,하지만 사람이 될 수있는 이유에 대해 다른 생각을 갖고 있다면, 그것은 것 큰. 또한 캐리지 리턴으로 인해 Windows 시스템에서 전체 저장소를 다시 다운로드하지 않고이 문제를 해결하는 방법에 대한 아이디어가 있습니까?

+0

@ daxim : 감사합니다. 오류 메시지가 표시되는 방식이므로 오류 메시지를 편집해서는 안됩니다. 원하면 스크린 샷에 가입 할 수 있습니다. – m0skit0

+0

그런 다음 [편집을 되돌립니다.] (http://stackoverflow.com/posts/10581304/revisions#rev-arrow-2cabce65-d023-45af-bf34-6289a359ce03). – daxim

답변

0

CPAN 구성을 삭제하고 첫 번째 구성을 다시 실행하십시오.

예를 들어 여전히 참조하고 있습니다. 리눅스 경로는 tar으로, 색상은 ANSI 터미널 이스케이프를 사용합니다.

+0

죄송합니다, 나는 CPAN 및 Perl 구성에 아주 멍청한 사람입니다. CPAN 구성을 삭제하려면 어떻게합니까? 이것이 Windows 용 ActivePerl 일 때 어떻게 구성됩니까? – m0skit0

+1

'CPAN/Config.pm'과'CPAN/MyConfig.pm'을 찾으십시오. [CPAN 문서] (http://p3rl.org/CPAN)를 읽어보십시오. – daxim

+0

RTFM 답변에 감사드립니다. 두 파일을 모두 삭제했는데 (어쨌든 MyConfig가 만들어지지 않았습니다), 문제가 지속됩니다. CPAN 문서는 * IX 시스템에 대해서만 말하기 때문에 아무 쓸모가 없었습니다. Windows 시스템을 사용하여 저장소를 다시 만들 것입니다. 도와 주셔서 감사합니다. – m0skit0

관련 문제