When installing redis on Linux and executing the make command, an error message is reported: gcc not found and *** [adlist.o] Error 1


Friendly reminder

First, look at the article table of contents to get a rough understanding of the article's knowledge point structure. Click on the article table of contents to jump directly to the specified location in the article.

Chapter 1. Problem analysis and solution

1.1) Error 1

Error problem 1: gcc: Command not found
Solution: execute the command: yum -y install gcc
执行命令:yum -y install gcc 

1.2) Error 2

Error report 2: error: jemalloc/jemalloc.h: No such file or directory

Solution: execute make MALLOC=libc

make MALLOC=libc 

Guess you like

Origin blog.csdn.net/baomingshu/article/details/132051249