我正在尝试安装地窖::随机模块,这是一种加密安全的随机数生成器,并表示它需要数学::Pari 2.001802,它不能从cpan.org获得,但它可以从另一个cpan.org中获得,但它不起作用。无论如何,我都试图安装它们,但遇到了以下问题:
C:\Users\Jlinne\Documents> cpanm Crypt::Random
--> Working on Crypt::Random
Fetching http://www.cpan.org/authors/id/V/VI/VIPUL/Crypt-Random-1.25.tar.gz ... OK
Configuring Crypt-Random-1.25 ... OK
==> Found dependencies: Math::Pari
--> Working on Math::Pari
Fetching http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080900.zip ... OK
Configuring Math-Pari-2.01080900 ... N/A
! Configure failed for Math-Pari-2.01080900. See C:\Users\Jlinne\.cpanm\work\1476250290.12460\build.log for details.
! Installing the dependencies failed: Module 'Math::Pari' is not installed
! Bailing out the installation for Crypt-Random-1.25.
C:\Users\Jlinne\Documents> cpanm Math::Pari
--> Working on Math::Pari
Fetching http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080900.zip ... OK
Configuring Math-Pari-2.01080900 ... N/A
! Configure failed for Math-Pari-2.01080900. See C:\Users\Jlinne\.cpanm\work\1476250325.1340\build.log for details.build.log也帮不了我,还有其他可以成功安装这个模块的方法吗?谢谢。
发布于 2016-10-12 06:03:30
您必须共享build.log文件。没有这一点,我们就无法检查是什么导致了失败。
顺便说一下,对于数学::Pari,您需要PARI库。从2.0版开始,这个模块没有包含的PARI库。
由于您正在尝试安装Math 2.01080900,因此您必须首先安装PARI库。
从http://pari.math.u-bordeaux.fr/download.html那里得到
发布于 2016-10-12 16:14:12
如果您可以使用32位Perl,可以使用32位草莓Perl,它已经安装了Math::Pari和Crypt::随机模块。
不幸的是,草莓Perl的64位版本并不包括这些模块中的任何一个。在这种情况下,您必须按照Chankey Pathak关于安装PARI库的建议来安装Math::Pari模块。
https://stackoverflow.com/questions/39991235
复制相似问题