No gcc Solution

Source: Internet
Author: User
There is no gcc solution-general Linux technology-Linux programming and kernel information. The following is a detailed description. Execute./configure and the following prompt appears:

Checking build system type... i686-pc-linux-gnu
Checking host system type... i686-pc-linux-gnu
Checking whether make sets $ (MAKE)... yes
Checking for gcc... no
Checking for cc... no
Checking for cc... no
Checking for cl... no
Configure: error: no acceptable C compiler found in $ PATH

After make is executed
Tip: No targets specified and no makefile found. Stop.

After you execute make install
Tip: No rule to make target 'install'. Stop.

After reading the relevant materials, we found that the GCC component was not installed;

I tried to Add/delete components through Add/RemoveApplications in System settings, select the corresponding items in the development tool, and click update, prompting to insert disk1. I inserted the disc, but it does not work, I wonder if it is because of reasons in the virtual machine... no way. Install it manually. I put it on the red hat tool disk and copied the gcc *. rpm, and then shared to linux in the Virtual Machine. After installation, the system prompts that some other components are missing, and finally searches and copies them back and forth. GCC is successfully installed and the required files are:

Libf2c-3.3.2-1.i386.rpm
Libstdc +-devel-3.3.2-1.i386.rpm
Glibc-kernheaders-2.4-8.36.i386.rpm
Glibc-headers-2.3.2-101.i386.rpm
Glibc-devel-2.3.2-101.i386.rpm
Gcc-objc-3.3.2-1.i386.rpm
Binutils-2.14.90.0.6-3.i386.rpm
Gcc-3.3.2-1.i386.rpm
Gcc-c ++-3.3.2-1. i386.rpm
Automake14-1.4p6-7.noarch.rpm
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.