cd src && make install make[1]: Entering directory `/root/redis-6.2.6/src' CC Makefile.dep make[1]: Leaving directory `/root/redis-6.2.6/src' make[1]: Entering directory `/root/redis-6.2.6/src' CC adlist.o In file included from adlist.c:34:0: zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory #include <jemalloc/jemalloc.h> ^ compilation terminated. make[1]: *** [adlist.o] Error 1 make[1]: Leaving directory `/root/redis-6.2.6/src' make: *** [install] Error 2
make MALLOC=libc
make PREFIX=/apps/redis install