configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.

使用yum update gcc只能更新到gcc-4.4.7-11.el6.x86_64

下载了更高版本的GCC

http://mirror.hust.edu.cn/gnu/gcc/gcc-4.8.4/

配置时出现以下错误:

解决办法:

下载安装缺少的依赖项

下载地址:

http://www.multiprecision.org/index.php?prog=mpc&page=download

可选的直接下载地址:

https://gmplib.org/download/gmp/gmp-6.0.0a.tar.lz

https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2

ftp://gnu.mirror.iweb.com/gmp/gmp-4.2.3.tar.gz

http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.xz

http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.gz

ftp://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz

ftp://gnu.mirror.iweb.com/mpc/mpc-1.0.1.tar.gz

ftp://gnu.mirror.iweb.com/gmp/gmp-4.3.2.tar.gz

安装文档:

https://gmplib.org/manual/Installing-GMP.html#Installing-GMP

http://www.mpfr.org/mpfr-current/mpfr.html#Installing-MPFR

时间: 2024-08-06 16:09:58

configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.的相关文章

gcc configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0

从svn checkout svn://gcc.gnu.org/svn/gcc/trunk拿了GCC的最新代码,打算编译了学东西习学习C++ 11的东西,结果在configure的时候出现例如以下问题: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+ http://www.multiprecision.org/mpc 下载mpc-0.9.tar.gz ftp://ftp.gnu.org/gnu/gmp/gmp-5.0.1.ta

Linux(CentOS6.5)下编译安装PHP5.6.22时报错”configure: error: ZLIB extension requires gzgets in zlib”的解决方式(确定已经编译安装Zlib,并已经指定Zlib路径)

本文地址http://comexchan.cnblogs.com/,作者Comex Chan,尊重知识产权,转载请注明出处,谢谢!   今天在CentOS6.5下编译安装PHP时,一直报错 configure: error: ZLIB extension requires gzgets in zlib 而Zlib确定已经安装了. 使用Google根本搜索不到有关的错误. 尝试重新编译了Zlib,还是不行. 后面发现我的PHP编译选项里面有个 --with-libdir=lib64 \ 删除之,再

nginx安装报错./configure: error: the http rewrite module requires the pcre library.

nginx编译时报错: ./configure: error: the http rewrite module requires the pcre library. 解决方法: [[email protected] nginx-1.5.9]#  yum install zlib-devel -y

./configure: error: the HTTP rewrite module requires the PCRE library解决

有时候,我们需要单独安装nginx,来处理大量的下载请求. 单独在Centos5安装nginx遇到的rewrite和HTTP cache错误解决办法: wget http://nginx.org/download/nginx-0.8.33.tar.gz tar -zxvf nginx-0.8.33.tar.gz cd nginx-0.8.33 ./configure --prefix=/usr/local/nginx 安装Nginx时报错 ./configure: error: the HTTP

./configure: error: the GeoIP module requires the GeoIP library.

近期安装的nginx的geo的模块在编译nginx的时候遇到报错,报错信息如下: checking for OpenSSL library ... found checking for zlib library ... found checking for GeoIP library ... not found checking for GeoIP library in /usr/local/ ... not found checking for GeoIP library in /usr/pk

ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.

有时候,我们需要单独安装nginx,来处理大量的下载请求.单独在Centos5安装nginx遇到的rewrite和HTTP  cache错误解决办法: wget http://nginx.org/download/nginx-0.8.33.tar.gztar -zxvf nginx-0.8.33.tar.gz cd nginx-0.8.33./configure --prefix=/usr/local/nginx 安装Nginx时报错 ./configure:  error: the HTTP 

CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法

错误提示: ./configure: error: the HTTP rewrite module requires the PCRE library. 安装pcre-devel与openssl-devel解决问题 yum -y install pcre-devel openssl openssl-devel ./configure --prefix=/usr/local/nginx make make install

fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC sha

调试程序时出现以下问题:d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afx.h(24): fatal error C1189: #error :  Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD

linux下安装安装pcre-8.32 configure: error: You need a C++ compiler for C++ support

linux下安装安装pcre-8.32./configure --prefix=/usr/local/pcre 出现以下错误configure: error: You need a C++ compiler for C++ support 正解 yum install -y gcc gcc-c++