linux 环境下 安装软件 报错 查看错误 wrong error 该如何处理

2025-03-23 15:32:34
推荐回答(1个)
回答1:

有错会退出,会在当前目录下生成 config.log ,vim 可直接查看.

附:
[root@s02 csft-3.1]# ./configure

checking build environment
--------------------------

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages

checking for compiler programs
------------------------------

checking whether to compile debug version... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $path
See `config.log' for more details. #这里会有提示的
[root@02 csft-3.1]#