分页: 1 / 1

求助 xubuntu编译gcc,编译gmp和mpfr不能通过

发表于 : 2009-06-23 17:23
kerwinash
安装gcc提示需要gmp和mpfr。直接 ./configure make make install 安装gmp,没有问题。
安装mpfr时./configure提示 gmp.h can't be found, or is unusable. 使用命令./configure --with-gmp-include=/home/kerwin/gmp-4.2.4则提示
checking for __gmpz_init in -lgmp... no
configure: error: libgmp not found or uses a different ABI.
Please read the INSTALL file -- see "In case of problem".

求高手指点

Re: 求助 xubuntu编译gcc,编译gmp和mpfr不能通过

发表于 : 2009-06-23 17:30
kerwinash
:em03 求指点,很痛苦

Re: 求助 xubuntu编译gcc,编译gmp和mpfr不能通过

发表于 : 2009-06-23 17:44
kerwinash
没有人在吗?

Re: 求助 xubuntu编译gcc,编译gmp和mpfr不能通过

发表于 : 2010-03-10 18:36
kevin_aixin
--with-gmp-include=/home/kerwin/gmp-4.2.4
改成
--with-gmp=/home/kerwin/gmp-4.2.4

Re: 求助 xubuntu编译gcc,编译gmp和mpfr不能通过

发表于 : 2010-09-27 0:02
ma3310
apt-get install libgmp3-dev