安装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".
求高手指点
求助 xubuntu编译gcc,编译gmp和mpfr不能通过
-
- 帖子: 3
- 注册时间: 2009-06-21 23:15
-
- 帖子: 3
- 注册时间: 2009-06-21 23:15
-
- 帖子: 3
- 注册时间: 2009-06-21 23:15
-
- 帖子: 1
- 注册时间: 2010-01-16 10:07
Re: 求助 xubuntu编译gcc,编译gmp和mpfr不能通过
--with-gmp-include=/home/kerwin/gmp-4.2.4
改成
--with-gmp=/home/kerwin/gmp-4.2.4
改成
--with-gmp=/home/kerwin/gmp-4.2.4
-
- 帖子: 17
- 注册时间: 2008-04-29 14:43
Re: 求助 xubuntu编译gcc,编译gmp和mpfr不能通过
apt-get install libgmp3-dev