早教吧作业答案频道 -->其他-->
在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...的网友还看了以下:
关于量子力学的用角动量量子化J=n*(hbar)推rn和En的过程中:圆轨道给出mv^2/r=e^ 2020-05-15 …
在已知lim(1+1/n)^n=e的时候 求极限 lim(1+1/(n+1))^n-1=? 2020-05-15 …
求极限那个题目,当x/(x+1)在指数上,底数是e的时候,整个的极限怎么求呢 2020-05-23 …
☆要计算过程.东八区和东九区的分界线是?东3区9点,东10区几点?东10区15点,西3区几点?西8 2020-06-16 …
下图中AB、CD为两条纬线,B、C、E位于同一经线上,A、E、D三点的太阳高度为0°,A和E的时差 2020-06-19 …
140度E的时区是3月2日14:00,40度W的时区为多少 2020-06-19 …
为啥电源总功率公式是P=IE呀,当U=E的时候I不是0么?还有如果不是0的话那这个公式的I带什么时 2020-07-20 …
在redhat6.0在安装ext3grep的时候,在./configure的时候出现了好多的错误. 2020-07-20 …
当北京时间是正午12点时,印度首都新德里(82.5°E)的时刻是半个的怎么算写下 2020-12-01 …
1-甲基,3-异丙基环己烷最稳定的构象是什么?如题请说明两个取代基在a还是e的时候构象最稳定 2020-12-20 …