`
wbj0110
  • 浏览: 1586612 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

configure: error: Unable to find a working C++ compiler

阅读更多

如果有这样的错误信息:

“configure: error: C++ compiler cannot create executables"

or

configure: error: Unable to find a working C++ compiler

说明没装gcc或者装了gcc,没装g++

我这ubuntu10.10就是没有g++,

最后是apt-get install g++,修复了congfiure不通的错误。

You need to install c++ on your computer. even if you installed gcc that doesn’t automatically install g++. Try to run one of the following commands that fit your Linux distribution best :)

1
2
3
yum install gcc-c++<br>
or<br>
apt-get install gcc-c++<br>

if apt-get doesn’t like the command try

 

 

 

apt-get install g++

分享到:
评论

相关推荐

    gcc-4.9.4安装包

    在编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 要支持C++11,必须升级到gcc4.7以上。

    gcc_4.9.4_gcc+gmp+mpfr+mpc.tar.gz

    编译安装软件的时候,发现错误configure: error: *** A compiler with support for C++11 language features is required. 原来是gcc版本太低了,我的版本是gcc version 4.6.3 想要支持C++11,必须升级到gcc4.8...

    CentOS下编译php时的一些典型错误及解决办法.

    11. configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore! 解决方法: yum install mysql-devel 此错误是由于缺少 mysql-devel 库文件所...

    svn安装过程中遇到错误需要的文件包

    错误 configure: error: could not find library containing RSA_new: 错误 configure: error: no XML parser was found: expat or libxml 2.x required 解放方法: ...

    libmount-2.32.tar.gz

    然而,当我们尝试编译和安装这个版本时,可能会遇到“configure: error: *** Could not find libmount”这样的错误提示,这通常是由于系统环境配置不完整或者依赖关系未满足所导致的。 首先,我们要明白“configure...

    PHP编译configure时常见错误的总结

    13. **错误:Configure: error: Unable to locate gmp.h** 解决方案:在CentOS上,需要`gmp-devel`,使用`yum install gmp-devel`进行安装。 14. **错误:Configure: error: Cannot find MySQL header files** 这...

    Linphone编译错误及解决方法

    4. failed to with "configure: error: "Could not find libreadline headers or library" 错误原因:缺少libreadline头文件或库文件。 解决方法:apt-get install libreadline5-dev 5. fail with "checking for ...

    device-mapper.1.02.28.tgz

    在编译parted-3.2时,报错:configure: error: libdevmapper could not be found,找到device-mapper.1.02.28,并下了下来。 这个源码藏得有点深,分享出来给大家

    suse系统ssh升级压缩包.tar

    本升级包中包含openssh-8.1p1.tar.gz openssl-1.1.1b.tar.gz zlib-1.2.11.tar.gz等3个源码资源包。

    php源代码安装常见错误与解决办法分享

    15. **错误:Configure: error: Unable to locate gmp.h** 解决:安装gmp-devel,命令是`yum install gmp-devel`。 16. **错误:Configure: error: Cannot find MySQL header files under /usr. Note that the ...

    gmp 5.0.4 安装GCC必需文件

    There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface.

    haxmfori7.rar

    在描述中提到的“Failed to configure driver: unknown error. Failed to open driver”是一个常见的错误提示,意味着在安装或配置HAXM时遇到了问题。 Intel HAXM依赖于计算机的硬件虚拟化功能,尤其是CPU的虚拟化...

    zabbix-agent2离线编译所需的go依赖包

    在IT行业中,Zabbix是一个广泛使用的开源监控解决方案,它能够监控网络服务、服务器性能、应用程序等。Zabbix Agent是Zabbix系统的核心组件之一,它安装在被监控的主机上,负责收集系统和应用数据并报告给Zabbix ...

    lz4最新版,编译spice-gtk-0.35时使用

    解决configure: error: lz4 support requested but liblz4 &gt;= 129 could not be found, export PREFIX=安装目录 &make; &make; install

    C++ 通过libpqxx 连接postgresql 所需的libpqxx库

    lipqxx为4.0.1,为x86版本,使用的使用vs2010提示窗口进行编译的,vs包含相应的动动态静态库后,通过libpqxx函数能实现C++连接postgresql数据库,并进行数据库操作,编译参考网址:...错误参考网址:...

    libmount-2.25.2.tar.xz

    configure: error: *** Could not find libmount checking for LIBMOUNT... no glib-2.56.0

    mysql安装缺失库解决办法

    首先,`vcruntime140.dll`是微软Visual C++运行时库的一部分,主要用于支持C++编译的程序运行。当MySQL的安装程序尝试执行由VC++编译的组件时,如果没有这个动态链接库,系统就会报错,提示“vcruntime140.dll”缺失...

    nginx离线安装(包含gcc、nginx的依赖包rpm集合)

    首先,`gcc`(GNU Compiler Collection)是开源的编译器套件,它支持C、C++、Fortran等多种编程语言。在Linux环境下,`gcc`用于将源代码编译成可执行程序,是许多软件包(包括`nginx`)构建的基础。在离线环境中,你...

    编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法

    在PHP的mysqli扩展中,如果遇到“configure: error: wrong mysql library version or lib not found”错误,可能还需要在mysqli扩展目录下进行以下操作: 1. **切换到mysqli扩展目录**:`cd /usr/local/src/...

    Ubuntu 18 搭建openjdk源码 报错误 configure: error: Could not find required tool for ZIPEXE

    前几天看完了深入理解 Java 虚拟机-JVM 高级特性与最佳实践(第2版) 这本书突发奇想想研究一下jdk的源码,所以在csdn上把自己的搭建过程记录一下,避免下次踩坑(虽然我也看不懂 卑微 有需要的小伙伴可以加我QQ:...

Global site tag (gtag.js) - Google Analytics