I am setting up a new, dedicated, centos 6.4 system with redis. I have installed redis many times, but have never hit this issue (and have never been on centos 6.4 before).
cd redis-2.6.16 sudo make install
zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error "Newer version of jemalloc required"
When I try to build jemalloc directly (from the /src area of the redis tarball), other errors include:
cd src && make jemalloc sh: ./mkreleasehdr.sh: Permission denied make: Entering directory `/tmp/rediswork/redis-2.6.16/src' make: *** No rule to make target `jemalloc'. Stop. make: Leaving directory `/tmp/rediswork/redis-2.6.16/src' make: *** [jemalloc] Error 2
I also tried redis 2.6.7 and have the same issue.
I have dug all over and can find no path forward.
Did you try installing the package it asked for?
yum install jemalloc-devel
This can be found in the EPEL repository, which you should have already added to your CentOS system.
Come to think of it,
redis is also in EPEL…
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.