Redhat安装程序的错误
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Redhat安装程序的错误相关的知识,希望对你有一定的参考价值。
1:解压 .tar.gz,
2:configuer
3:make,但是为什么会出现这种问题:
[root@localhost bochs-2.4.5]# ./configure --enable-debugger --enable-disasm
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking if you are configuring for another platform... no
checking for standard CFLAGS on this platform...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 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 whether make sets $(MAKE)... no
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check //错误位置
See `config.log' for more details.
[root@localhost bochs-2.4.5]#
问:这是什么原因,如果是没有安装make指令,怎么安装,我是redhat enterprixe 6的系统。
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
这些编译工具都没有找到! 参考技术A gcc要求安装顺序,gcc编译器的安装所需文件依次是:glibc-kernheaders glibc-headers glibc-devel cpp gcc 五个文件每个包都有先后依赖,推荐RPM方式安装。 参考技术B sudo apt-get install 《安装包名》
安装包根据你需要,比如g++就sudo apt-get install g++
然后得输入当前用户密码,输入的时候你看不见,你就输入就行,在回车就自动下载更新了 参考技术C ss
以上是关于Redhat安装程序的错误的主要内容,如果未能解决你的问题,请参考以下文章
RedHat 7.1 下安装 Zabbix监控程序详解(适合linux初级用户)