1

cygwin に MPFR をインストールしようとしています。「./configure --with-gmp-build=../gmp-5.1.3」を正常に実行しましたが、エラーは発生しませんでした。しかし、「make install」を実行すると失敗し、次のエラーが表示されます。

In file included from exceptions.c:23:0:
mpfr-impl.h:71:24: fatal error: gmp-impl.h: No such file or directory
compilation terminated.
Makefile:674: recipe for target `exceptions.lo' failed
make[2]: *** [exceptions.lo] Error 1
make[2]: Leaving directory `/cygdrive/d/chamila/mpfr-3.1.2/src'
Makefile:798: recipe for target `install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory `/cygdrive/d/chamila/mpfr-3.1.2/src'
Makefile:385: recipe for target `install-recursive' failed
make: *** [install-recursive] Error 1

gmp の場所もパスに追加しました。ここで何が問題なのですか?どうすればこれを解決できますか?

4

1 に答える 1

0

--with-gmp-build オプションを使用しないでください (何をしているのかわかっていない限り)、configure で相対パスを使用しないでください。ディレクトリ DIR に GMP をインストールした場合は、 --with-gmp=DIR を使用してください。

于 2014-06-30T00:25:13.343 に答える