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 `/home/redis/redis-stable/src' make: *** [all] Error 2
执行以下命令:
1 2
make distclean make
如果问题未解决则使用以下命令再试:
1
make MALLOC=libc
tcl 8.5
1 2 3 4
You need tcl 8.5 or newer in order to run the Redis test make[1]: *** [test] Error 1 make[1]: Leaving directory `/home/redis/redis-stable/src' make: *** [test] Error 2
tar xzvf ActiveTcl-8.6.11.1.0000-x86_64-linux-glibc-2.17-e4e2f327.tar.gz mv ActiveTcl-8.6.11.1.0000-x86_64-linux-glibc-2.17-e4e2f327 ActiveTcl-8.6 cd ActiveTcl-8.6 ./install.sh