费多拉的新牧师



当我尝试用cpan(或cpanm)安装Padre时。。。

bash-4.2$ sudo cpan Padre
...
CPAN.pm: Building P/PL/PLAVEN/Padre-1.00.tar.gz
Found locale    ru_RU.UTF-8
Found wxWidgets 2.8.12
Found Wx.pm     0.9921
Unparsable version '6,59' for prerequisite ExtUtils::MakeMaker at inc/Module/Install/Makefile.pm line 352.
Checking if your kit is complete...
Looks good
unexpected end of string while parsing JSON string, at character offset 281 (before "},"build_requires":{...") at /usr/local/share/perl5/CPAN/Meta/Converter.pm line 45.
at /usr/share/perl5/vendor_perl/ExtUtils/MM_Any.pm line 831.
ERROR from evaluation of /root/.local/share/.cpan/build/Padre-1.00-UsByhx/winxs/Makefile.PL: unexpected end of string while parsing JSON string, at character offset 78 (before "}") at /usr/local/share/perl5/CPAN/Meta/Converter.pm line 45.
Warning: No success on command[/usr/bin/perl Makefile.PL]
PLAVEN/Padre-1.00.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites

这个bug我们还有几年的时间。我找不到JSON,这就是这个错误的原因。有人通过这个问题吗?

在某些版本的JSON::PP中存在已知的问题,这些问题会在工具链的更高层引发这样的问题。

尝试升级JSON::PP。如果工具链问题使您无法以正常方式安装JSON::PP,请从CPAN下载该模块的最新版本,并手动替换系统上的JSON/PP.pm文件。

Fedora目前有Padre 0.90作为预构建包。所以你可以用安装它

$ sudo yum install perl-Padre

相关内容

  • 没有找到相关文章

最新更新