[英]How can i install perl 5.10.1 in ubuntu 18.04 LTS?
I am not able to install Perl 5.10.1 in ubuntu 18.04. 我无法在ubuntu 18.04中安装Perl 5.10.1。 I am trying to install it via perlbrew but I am getting some error.
我正在尝试通过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
I have to downgrade the Perl version since I am in need of these for my applications backend 我必须降级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 #####*
If you update the patchperl
component of your perlbrew
to the latest version, it should work. 如果更新
patchperl
您的组件perlbrew
到最新版本,它应该工作。 See this issue for more information. 有关更多信息,请参见此问题 。 Try this:
尝试这个:
$ perlbrew install-patchperl # <-- install latest version of patchperl
$ perlbrew install perl-5.10.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.