Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problems in CentOS MAKE

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to solve the problem in CentOS MAKE, in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

There will be a lot of problems in the use of CentOS MAKE, and this time, I encountered a series of failures caused by the failure of no acceptable C compiler found in $PATH in CentOS MAKE due to the failure to install GCC components. After inquiring and consulting materials, I found a simple solution for you to use as a reference when using CentOS MAKE.

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... After no configure: error: no acceptable C compiler found in $PATH executes CentOS MAKE, prompt: No targets specified and no makefile found.Stop. Prompt after executing make install: No rule to make target 'install'.Stop.

After consulting the data, it was found that it was because the GCC component was not installed.

I try to add / remove components through Add/RemoveApplications in System settings (or add and remove applications-"* components in development tools), select the corresponding items in development tools, click update, prompt to insert disk1, and I insert CD, but it doesn't work. I don't know if it's because of reasons in the virtual machine." There is no way to install it manually. I put it on the red hat tool disk, copied out the gcc*.rpm, and then shared it to the linux in the virtual machine. The installation indicates that some other components are missing. After searching and copying back and forth, GCC has been successfully installed, and the required files are as follows:

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- It is relatively simple to install the rpm rpm 3.3.2-1.i386.rpm automake14-1.4p6-7.noarch.rpm: # rpm-install

OK, you can use the. / configure and CentOS MAKE commands normally.

The answers to the questions on how to solve the problems in CentOS MAKE are shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report