在Windows上编译GMP时出错

时间:2014-01-08 19:02:48

标签: windows mingw gmp

我正在尝试在64位Windows 7计算机上使用MinGW编译GMP 5.1.3作为设置pycrypto的先决条件。要配置GMP,我使用了./configure --prefix=C:/Python27/Lib/site-packages/gmp-5.1.3。当我输入make命令时,我收到错误:

../libtool: line 1109: lib: command not found
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving director '/c/Python27/Lib/site-packages/gmp-5.1.3/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/c/Python27/Lib/site-packages/gmp-5.1.3'
make: *** [all] Error 2

我一直在Google周围钓鱼,并且检查GMP的说明无济于事。发现了许多类似的问题,但没有直接相关的问题。虽然我怀疑这个问题是在我面前,但我一直盯着屏幕看太久了。

0 个答案:

没有答案