[root@localhost redis-2.8.17]# make cd src && make allmake[1]: Entering directory `/root/redis-2.8.17/src‘ CC adlist.o /bin/sh:cc: command not found make[1]: *** [adlist.o] Error127 make[1]: Leaving directory `/root/redis-2.8.17/src‘ make: *** [all] Error2
(2)若出現以下提示,則將make改成make MALLOC=libc,推測是由於編譯庫的問題。mysql
[root@localhost redis-2.8.17]#make cd src && make all make[1]: Entering directory `/root/redis-2.8.17/src‘ CC adlist.o In file included from adlist.c:34:0: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No suchfileor directory zmalloc.h:55:2: error:#error"Newer version of jemalloc required" make[1]: *** [adlist.o] Error1 make[1]: Leaving directory `/root/redis-2.8.17/src‘ make: *** [all] Error2