2014-09-15 2 views
5

나는 5.20t--as가 설치 스레딩Perlbrew 목록 및 잘못된 버전 번호

  • 5.20.05.20로 설치 및
  • 5.20.0 (만 주 번호와 버전 이름)을 사용하여 펄의 두 버전을 설치
    * 5.20 (5.20.0) 
        5.20t (5.20.0) 
    

    그때

    $ perlbrew upgrade-perl 
    Upgrading 5.20 to 5.20.1 
    Installing /Users/corti/perl5/perlbrew/build/perl-5.20.1 into ~/perl5/perlbrew/perls/5.20 
    
    This could take a while. You can run the following command on another shell to track the status: 
    
        tail -f ~/perl5/perlbrew/build.perl-5.20.1.log 
    
    5.20 is successfully installed. 
    

    펄이 제대로 업그레이드 될 것으로 보인다 (v5.20.1)를 사용하여 5.20.1에 펄을 업그레이드 :

    $ perl -version 
    
    This is perl 5, version 20, subversion 1 (v5.20.1) built for darwin-2level 
    
    Copyright 1987-2014, Larry Wall 
    
    Perl may be copied only under the terms of either the Artistic License or the 
    GNU General Public License, which may be found in the Perl 5 source kit. 
    
    Complete documentation for Perl, including FAQ lists, should be found on 
    this system using "man perl" or "perldoc perl". If you have access to the 
    Internet, point your browser at http://www.perl.org/, the Perl Home Page. 
    

    그러나 perlbrew list 새 버전을 인식하지 않고 perlbrew upgrade-perl를 호출 다시 업그레이드합니까?

    $ perlbrew list 
    * 5.20 (5.20.0) 
        5.20t (5.20.0) 
    

    perlbrew이 업데이트를 인식하지 못하는 이유는 무엇입니까?

답변

2

는 파일의 존재에 대한 검사 perlbrew

perls/*/.version 

이라고하며 설치된 펄의 버전을 확인하기 위해 그 콘텐츠를 사용하기 때문에. 이 파일을 찾지 못하면 설치된 버전을 확인하기 위해

perls/*/bin/perl 

실행 펄을 실행에 다시 떨어지고는 .version 파일을 만듭니다.

upgrade-perl 명령이 파일을 업데이트하지 못하여 후속 실행이 설치된 버전을 제대로 감지하지 못합니다. 내가 제출 한 bug report

+0

고마워, 내가 수동으로 파일을 변경 ... – Matteo