编译GCC4.3.4时出现如下出错信息:
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
If you obtained GMP and/or MPFR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.
提示需要GMP和 MPFR,用YUM试,都有装 ,按提示需要lib和header都有,
就用whereis找了一下,果然只有gmp.h,没有libgmp,
用yum说包无法提供,请教如何安装?
谢谢~~!
fq9200 于 2011-12-16 11:33:00发表:
同是新手不懂,提示信息说gmp、libgmp版本不符,网上下不了libgmp