[英]How can i install perl 5.10.1 in ubuntu 18.04 LTS?
我無法在ubuntu 18.04中安裝Perl 5.10.1。 我正在嘗試通過perlbrew安裝它,但出現了一些錯誤。
perlbrew install perl-5.10.1
apt-get install perlbrew
perlbrew init
perlbrew install perl-5.10.1
perlbrew use perl-5.10.1
我必須降級Perl版本,因為我的應用程序后端需要這些版本
*Error Message:
Test Summary Report
-------------------
makefile:850: recipe for target '_test_tty' failed
make[2]: *** [_test_tty] Error 255
make[2]: Leaving directory '/root/perl5/perlbrew/build/perl-5.10.1/perl-5.10.1'
makefile:864: recipe for target '_test' failed
make[1]: *** [_test] Error 2
make[1]: Leaving directory '/root/perl5/perlbrew/build/perl-5.10.1/perl-5.10.1'
makefile:967: recipe for target 'test_harness' failed
make: *** [test_harness] Error 2
##### Brew Failed #####*
如果更新patchperl
您的組件perlbrew
到最新版本,它應該工作。 有關更多信息,請參見此問題 。 嘗試這個:
$ perlbrew install-patchperl # <-- install latest version of patchperl
$ perlbrew install perl-5.10.1
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.