The solution to the error when installing redis when executing the make command

1. GCC is not installed

  Solution: Execute the yum install gcc-c++ command to install GCC, and execute the make command again after completion

yum install gcc-c++

 Linux cannot connect to the networkhttp  ://www.cnblogs.com/guoxiangyue/p/8916854.html

2. Problems with jemalloc/jemalloc.h

The message shows a fatal error, jemalloc/jemalloc.h: No such file or directory

Execute the command make MALLOC=libc to complete the installation

make MALLOC=libc

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324974624&siteId=291194637