首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装Math::Pari模块

无法安装Math::Pari模块
EN

Stack Overflow用户
提问于 2016-10-12 05:40:37
回答 2查看 1.1K关注 0票数 1

我正在尝试安装地窖::随机模块,这是一种加密安全的随机数生成器,并表示它需要数学::Pari 2.001802,它不能从cpan.org获得,但它可以从另一个cpan.org中获得,但它不起作用。无论如何,我都试图安装它们,但遇到了以下问题:

代码语言:javascript
复制
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也帮不了我,还有其他可以成功安装这个模块的方法吗?谢谢。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 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那里得到

票数 1
EN

Stack Overflow用户

发布于 2016-10-12 16:14:12

如果您可以使用32位Perl,可以使用32位草莓Perl,它已经安装了Math::Pari和Crypt::随机模块。

不幸的是,草莓Perl的64位版本并不包括这些模块中的任何一个。在这种情况下,您必须按照Chankey Pathak关于安装PARI库的建议来安装Math::Pari模块。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39991235

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档