解决configure: error: C++ compiler cannot create executables问题

参考

yum install gcc gcc++

呵呵,这样的话还是有组件没有安装完整的。再执行一下这个命令就可以解决问题。

yum install gcc gcc-c++ gcc-g77
				
时间: 2024-08-03 21:22:36

解决configure: error: C++ compiler cannot create executables问题的相关文章

configure编译时,出现 configure: error: C compiler cannot create executables错误解决 .

今天在服务器上安装bind9.9.2的时候,gcc和gcc-c++已经安装过了,但是./configure的时候还是报错: checking build system type... x86_64-unknown-linux-gnu   checking host system type... x86_64-unknown-linux-gnu   checking whether make sets $(MAKE)... yes   checking for gcc... gcc   check

configure error C compiler cannot create executables错误解决

我们在编译软件的时候,是不是经常遇到下面的错误信息呢? ? checking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnuchecking for gcc... gccchecking for C compiler default output file name...configure: error: C compiler cannot create executable

configure: error: C++ compiler cannot create executables

./configure时报错:configure: error: C++ compiler cannot create executables .这个是gcc的组件没有装全,执行一下这个命令就可以解决问题: yum install gcc gcc-c++ gcc-g77

安装RabbitMQ编译erlang时,checking for c compiler default output file name... configure:error:C compiler cannot create executables See 'config.log' for more details.

checking for c compiler default output file name... configure:error:C compiler cannot create executables See 'config.log' for more details. 打开config.log查看明细: 网上找了下,说是没有安装cpp,libc5-devel,而在redhat中指的是glibc,glibc-devel,cpp,查看是否安装,: 果然没有,然后安装: 再次编译,发现换了一

解决configure: error: Please reinstall the libcurl distribution

解决configure: error: Please reinstall the libcurl distribution 今天配置一台server的php支持curl的时候, 出现如下报错 checking for cURL in default path... not found configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ 其实就是curl的d

How to Install wget in OS X如何在Mac OS X下安装wget并解决configure: error:

1.ftp://ftp.gnu.org/gnu/wget/官网下载最新的安装包 wget-1.19.tar.gz 2.打开终端输入 tar zxvf wget-1.9.1.tar.gz 解压缩 3.进入wget所在文件夹 终端输入cd wget-1.9.1 4.终端输入 ./configure 如果出现configure: error: The pkg-config script could not be found or is too old. Make sure it is in your

解决configure: error: Could not link against !

问题描述:在./configure时出现error: Could not link against ! 解决方法:来自 http://stackoverflow.com/questions/9132335/configure-error-could-not-link-against-boost-system对于64位机:./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu对于32位机:./configure --with-boost-

解决configure: error: Popt libraries is required简单报错笔记!

问题: 编译keepalived时报 configure: error: Popt libraries is required 问题原因: 这个错误是因为没有安装popt的开发包导致的 解决方式: 只要yum install popt-devel, 就可以安装好popt的开发包了. 重新./configure 总结:一般编译报错是缺少依赖包或者找不到一些东西,安装指定包或者做相应软链接即可! 注意事项:yum安装比较简单,但是卸载时候要注意依赖环境.编译安装比较灵活,但是麻烦.具体需求个人而定.

linux非root用户安装ncurses-devel依赖,解决configure: error: No curses library functions found

很明显,如果我们通过yum或rpm下载安装,始终无法绕开root用户,除非我们不用yum或rpm.是的,我们直接下载源码包,到ftp.gnu.org/pub/gnu/ncurses/我们可以下到最新的源码包ncurses-6.1.tar.gz,通过rz上传至非root用户wlf的soft目录下,回到根目录,我们把源码包解压: $ tar xzvf soft/ncurses-6.1.tar.gz 进入解压后目录,执行软件配置: $ cd ncurses-6.1 $ ./configure --pr