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

编译打包和其他
回复
kerwinash
帖子: 3
注册时间: 2009-06-21 23:15

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

#1

帖子 kerwinash » 2009-06-23 17:23

安装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".

求高手指点
kerwinash
帖子: 3
注册时间: 2009-06-21 23:15

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

#2

帖子 kerwinash » 2009-06-23 17:30

:em03 求指点,很痛苦
kerwinash
帖子: 3
注册时间: 2009-06-21 23:15

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

#3

帖子 kerwinash » 2009-06-23 17:44

没有人在吗?
kevin_aixin
帖子: 1
注册时间: 2010-01-16 10:07

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

#4

帖子 kevin_aixin » 2010-03-10 18:36

--with-gmp-include=/home/kerwin/gmp-4.2.4
改成
--with-gmp=/home/kerwin/gmp-4.2.4
ma3310
帖子: 17
注册时间: 2008-04-29 14:43

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

#5

帖子 ma3310 » 2010-09-27 0:02

apt-get install libgmp3-dev
回复