Solve the Problem of configure: Error: C ++ compiler cannot create executables

Source: Internet
Author: User
Link: http://www.coderbolg.com/content/83.html

Ah ...... God,./configure reports an error:Configure: Error: C ++ compiler cannot create executables. Alas, we reinstalled the system on the test server today and set up the IP address to allow remote access. We came back to install the software and encountered a problem when setting up the PHP + nginx environment.

The problem occurs when the libmcrypt package is installed. When I./configure reports an error: Configure: Error: C ++ compiler cannot create executables. Later I checked the relevant information and found that the GCC component was not fully installed. I used to notify the yum method when installing GCC:

Yum install GCC ++

In this case, components are not completely installed. Execute this command to solve the problem.

Yum install GCC gcc-C ++ gcc-g77

There should be no problem.

 

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.