当前位置: 技术问答>linux和unix
./configure问题
来源: 互联网 发布时间:2016-06-03
本文导语: 大家好: 我在安装一个工具的时候运行了./configure,然后出现如下信息 [root@localhost myget-0.1.0]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking fo...
大家好:
我在安装一个工具的时候运行了./configure,然后出现如下信息
[root@localhost myget-0.1.0]# ./configure
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)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
然后我再运行MAKE命令 就出现如下信息
make: *** No targets specified and no makefile found. Stop.
无法再进行了,请问有人知道应该如何解决吗?
我已经在命令行运行了yum install gcc
gcc版本是:gcc-4.1.2-44.el5
我在安装一个工具的时候运行了./configure,然后出现如下信息
[root@localhost myget-0.1.0]# ./configure
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)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
然后我再运行MAKE命令 就出现如下信息
make: *** No targets specified and no makefile found. Stop.
无法再进行了,请问有人知道应该如何解决吗?
我已经在命令行运行了yum install gcc
gcc版本是:gcc-4.1.2-44.el5
|
有必要下载源码来编译安装吗?
貌似可以先试试直接用 yum 来安装嘛:
貌似可以先试试直接用 yum 来安装嘛:
# yum install gcc* -y
|
先安装gcc,再安装gcc-c++就行啦。。。试试看吧,不行再发贴
|
GCC工具不全。