"CentOS" Make cc Command not found,make: * * * [ADLIST.O] Error 127 "

Source: Internet
Author: User
Tags redis install redis

Compile-time hints for Redis source code on Linux systems "make CC Command not found,make: * [ADLIST.O] Error 127". This is because the system does not have the GCC environment installed, so the above prompts will appear at compile time, when the installation of GCC and then compile, the error message above will disappear.

Tools/raw Materials
CentOS 6.4 Redis make GCC
Method/Step
1
The following error occurred when you downloaded the decompression redis-2.0.4 and executed make to compile it:
Make:cc:Command not found make: * [ADLIST.O] Error 127
Prompt for make cc Command not found when compiling Redis
2
This is because the newly installed Linux system does not have the GCC environment installed, you need to install GCC, for convenience, here I choose to install with Yum. Yum Install gcc

Prompt for make cc Command not found when compiling Redis
3
Prompt for make cc Command not found when compiling Redis
4
Verify that GCC is successfully installed rpm-qa |grep gcc

Prompt for make cc Command not found when compiling Redis
5
Re-compile the Redis install make && made install

The following figure allows you to see the compilation pass and successfully install Redis. Prompt to make cc command not found
6
Summary When you are prompted to do cc command not found
compile Redis when compiling Redis: For Linux system installation, especially for Linu When x server is installed, system engineers tend to minimize the installation of the corresponding Linux system. Then, in such a Linux system to compile the source code file on the installation, usually appears cc:command not found, which means that the system does not have the C locale, need to install, on the Linux system C environment is GCC, so need to install GCC.

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.