`
wbj0110
  • 浏览: 1557858 次
  • 性别: 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_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...

    gcc-4.9.4安装包

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

    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.25.2-实测版本

    经过实测的版本 configure: error: *** Could not find libmount checking for LIBMOUNT... no glib-2.56.0

    haxmfori7.rar

    解决intel i7 Failed to configure driver: unknown error. Failed to open driver

    centos7下升级openssh到8.4脚本

    centos7下升级openssh到8.4脚本

    device-mapper.1.02.28.tgz

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

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

    因此要自己亲自不断的调试,才能完全安装成功。 本文总结了一些常见的configure错误信息和解决这些错误的经验。...1、configure: error: No curses/termcap library found 网上有的说法是:–with-named-c

    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.

    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数据库,并进行数据库操作,编译参考网址:...错误参考网址:...

    为PHP安装imagick时出现Cannot locate header file MagickWand.h错误的解决方法

    checking for MagickWand.h header file… configure: error: Cannot locate header file MagickWand.h 可是我明明正确安装了ImageMagick的呀.GOOGLE了半天,也解决不了这个问题.后面对照另一个服务器上的ImageMagick...

    libmount-2.25.2.tar.xz

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

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

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

    nginx-1.0.5最新稳定版

    状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: error: the ...

    mysql安装缺失库解决办法

    附件是解决mysql安装vcruntime140.dll缺失问题解决需要安装的库

    升级openssh及openssl.pdf

    centos7 下编译安装升级openssl及openssh,亲测笔记。如环境有区别请自行修改部分自定义设置。升级软件版本 :openssl-1.1.1g openssh-8.3p1

    amrnb-7.0.0.2.tar.bz2

    amrnb-7.0.0.2.tar.bz2 配置mingw+msys环境需要。 文章:FFmpeg在windows下的编译,搭建mingw+msys环境,含mingw+msys下载 地址: http://blog.csdn.net/bihaichentian/archive/2010/08/20/5826859.aspx

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

    错误:configure: error: libevent &gt;= 1.4.11 could not be found 解决:yum -y install libevent libevent-devel 错误:configure: error: Please reinstall the mysql distributio 解决:yum -y install mysql-...

    me office600 win7 驱动

    epson office 600 打印机驱动,win7 64位系统

Global site tag (gtag.js) - Google Analytics