jemalloc error making redis on centos 6.4

1,718 views
Skip to first unread message

ShmuHones

unread,
Sep 30, 2013, 12:28:51 AM9/30/13
to redi...@googlegroups.com

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

error:

zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory
zmalloc.h:55:2: error: #error "Newer version of jemalloc required"

I also tried redis 2.6.7 and have the same issue.

I have dug all over and can find no path forward.

Rajiv Kurian

unread,
Sep 30, 2013, 12:42:30 PM9/30/13
to redi...@googlegroups.com
You might need to install jemalloc. I found this : http://download.redis.io/redis-stable/deps/jemalloc/INSTALL

I am guessing you don't have it installed. Jemalloc is available here: http://www.canonware.com/jemalloc/download.html

Jan-Erik Rediger

unread,
Sep 30, 2013, 12:53:24 PM9/30/13
to redi...@googlegroups.com
Redis comes with its own bundled jemalloc version, it does not use any
installed version.

Make sure your archive includes the deps directory and inside that the
jemalloc directory.
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
> To post to this group, send email to redi...@googlegroups.com.
> Visit this group at http://groups.google.com/group/redis-db.
> For more options, visit https://groups.google.com/groups/opt_out.

Yahav Biran

unread,
Jan 26, 2015, 7:46:32 PM1/26/15
to redi...@googlegroups.com
From some reasons, one need to first compile the jemalloc under deps and only then the sudo make in the reds root directory works. I think the makefile should be updated to compile the jemalloc
Reply all
Reply to author
Forward
0 new messages