早教吧作业答案频道 -->其他-->
在redhat6.0在安装ext3grep的时候,在./configure的时候出现了好多的错误.[root@localhostext3grep-0.10.2]#./configurecheckingforaBSD-compatibleinstall.../usr/bin/install-ccheckingwhetherbuildenvironmentissane...yescheckingf
题目详情
在redhat 6.0在安装ext3grep的时候,在./configure的时候出现了好多的错误.
[root@localhost ext3grep-0.10.2]# ./configure
checking for a BSD-compatible install.../usr/bin/install -c
checking whether build environment is sane...yes
checking for a thread-safe mkdir -p.../bin/mkdir -p
checking for gawk...gawk
checking whether make sets $(MAKE)...yes
checking whether to enable maintainer-specific portions of Makefiles...no
checking for gcc...gcc
checking whether the C compiler works...yes
checking for C compiler default output file name...a.out
checking for suffix of executables...
checking whether we are cross compiling...no
checking for suffix of object files...o
checking whether we are using the GNU C compiler...yes
checking whether gcc accepts -g...yes
checking for gcc option to accept ISO C89...none needed
checking for style of include used by make...GNU
checking dependency style of gcc...pch
checking for g++...no
checking for c++...no
checking for gpp...no
checking for aCC...no
checking for CC...no
checking for cxx...no
checking for cc++...no
checking for cl.exe...no
checking for FCC...no
checking for KCC...no
checking for RCC...no
checking for xlC_r...no
checking for xlC...no
checking whether we are using the GNU C++ compiler...no
checking whether g++ accepts -g...no
checking dependency style of g++...none
checking how to run the C++ preprocessor.../lib/cpp
configure:error:in `/usr/software/ext3grep-0.10.2':
configure:error:C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@localhost ext3grep-0.10.2]#
[root@localhost ext3grep-0.10.2]# ./configure
checking for a BSD-compatible install.../usr/bin/install -c
checking whether build environment is sane...yes
checking for a thread-safe mkdir -p.../bin/mkdir -p
checking for gawk...gawk
checking whether make sets $(MAKE)...yes
checking whether to enable maintainer-specific portions of Makefiles...no
checking for gcc...gcc
checking whether the C compiler works...yes
checking for C compiler default output file name...a.out
checking for suffix of executables...
checking whether we are cross compiling...no
checking for suffix of object files...o
checking whether we are using the GNU C compiler...yes
checking whether gcc accepts -g...yes
checking for gcc option to accept ISO C89...none needed
checking for style of include used by make...GNU
checking dependency style of gcc...pch
checking for g++...no
checking for c++...no
checking for gpp...no
checking for aCC...no
checking for CC...no
checking for cxx...no
checking for cc++...no
checking for cl.exe...no
checking for FCC...no
checking for KCC...no
checking for RCC...no
checking for xlC_r...no
checking for xlC...no
checking whether we are using the GNU C++ compiler...no
checking whether g++ accepts -g...no
checking dependency style of g++...none
checking how to run the C++ preprocessor.../lib/cpp
configure:error:in `/usr/software/ext3grep-0.10.2':
configure:error:C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@localhost ext3grep-0.10.2]#
▼优质解答
答案和解析
出现该情况是由于c++编译器的相关package没有安装,以root用户登陆,在终端上执行:
# yum install glibc-headers
# yum install gcc-c++
rpm安装也可以
cd /media/cdrom/package #安装盘里软件包路径
rpm -ivh glibc-headers
rpm -ivh gcc-c++
# yum install glibc-headers
# yum install gcc-c++
rpm安装也可以
cd /media/cdrom/package #安装盘里软件包路径
rpm -ivh glibc-headers
rpm -ivh gcc-c++
看了 在redhat6.0在安装e...的网友还看了以下:
AB相距13千米,甲从A地到B,在B地停半小时后从B地回A地,乙从B地到A,在A地停留45分钟后回B 2020-03-31 …
设f(x)在[a,b]上可微,0小于a小于b.证明:在(a,b)内至少存在一点n.使得f(b)-f 2020-04-26 …
设f(x)在[a,b]上连续,在(a,b)内可导,且当x∈(a,b)时,f(x)≠0.若f(a)= 2020-05-14 …
设f(x0在[a,b]单调连续,(a,b)可导,a=f(a)<f(b)=b求证:存在ξi∈(a,b 2020-05-14 …
高数问题十分紧急设函数f(x)在(a,b)上可导连续,f(a)=0,a>0求证存在在ξ在高数问题十 2020-05-14 …
某带电粒子仅在电场力作用下,由A点运动到B点,如图所示,可以判定()A.粒子在A点的加速度大于在B 2020-05-15 …
在菱形纸片ABCD中,∠A=60°,将纸片按如图所示的方式折叠,使点A,D分别落在A',D'处,且 2020-05-16 …
设a表示一个两位数,b是一个3位数,现在把a放在b的左边,组成一个五位数为X,再把b放在a的左边, 2020-05-19 …
ABAB两地相距12千米,甲从A地到B地,在B地停留半小时后,又从B地返回A地,乙从B地到A地,在 2020-05-20 …
设函数f(x)=sin(x+a),a为常数,有以下说法1.存在a使函数为非奇非偶函数设函数f(x) 2020-06-07 …