システム (Mac OS X 10.11.3) で zkcm を起動して実行しようとしています。gmp を ( を使用して) 問題 ./configure --prefix=/usr/local --enable-cxx
なくインストールしました。gmp の場所 (/usr/local/include) を指定すると、mpfr は簡単にインストールされます。
ただし、zkcm のインストールは簡単ではありません。また、gmp.h ファイルを (を使用して./configure --with-gmp-include=/usr/local/include
) 見つけることもできますが、gmpxx.h がすぐそこにあることがわかりますが、構成は失敗します
checking /usr/local/include/gmp.h usability... yes
checking /usr/local/include/gmp.h presence... yes
checking for /usr/local/include/gmp.h... yes
checking /usr/local/include/gmpxx.h usability... no
checking /usr/local/include/gmpxx.h presence... no
checking for /usr/local/include/gmpxx.h... no
configure: error: not found.
問題が何であるかわかりません。gmpを何度か再インストールしようとしましたが、役に立ちませんでした。
私は他の同様の質問をしましたが、私がすでに行ったことに私を導く情報しか見つけることができませんでした. 3つすべてに最新のライブラリを使用しています。zkcm を gmpxx.h に正しく転送するにはどうすればよいですか?
編集
「gmpxx.h」を含むすべての config.log テキスト:
configure:3331: checking /usr/local/include/gmpxx.h usability
configure:3331: g++ -c -g -O2 conftest.cpp >&5
In file included from conftest.cpp:53:
/usr/local/include/gmpxx.h:43:10: error: 'gmp.h' file not found with <angled> include; use "quotes" instead
#include <gmp.h>
^~~~~~~
"gmp.h"
1 error generated.
configure:3331: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE__USR_LOCAL_INCLUDE_GMP_H 1
| /* end confdefs.h. */
| #include </usr/local/include/gmpxx.h>
configure:3331: result: no
configure:3331: checking for /usr/local/include/gmpxx.h
configure:3331: result: no
configure:3338: error: not found.