Ubuntu 10.10 Error message: configure:error:c++ compiler cant create execut

Source: Internet
Author: User
Keywords NBSP; GCC error message Exe configure
Tags apt compiler configure create error error message gcc install

If you have this error message:

"configure:error:c++++ compiler cant create executables"

Instructions did not install GCC or installed GCC, did not install g++, I this ubuntu10.10 is no g++, and finally apt install g++, fixed congfiure error.

You are need to install C + + on your computer. Evan If you DWORD gcc that doesn't ' t automatically install g++. Try to run one of the following commands that fit your Linux distribution best:)

1 Yum Install gcc-c++<br>
2 or<br>
3 Apt Install gcc-c++<br>

If apt doesn't ' t like the command try

Apt Install g++

To view build-essential dependencies:

Code:

$ apt-cache Depends "build-essential"

Build-essential

| Depends:libc6-dev

&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; Depends: <libc-dev>

Libc6-dev

depends:gcc

depends:g++

Depends:make

Depends:dpkg-dev

You can see that there are a lot of compiler-related packages, and actually build-essential is a meta package.

If you need to compile the software, need to gcc/g++ and so on, all need to use this. Of course, you can separately install gcc/g++ package, with build-essential just easy to manage!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.