Tuesday, May 1, 2012

Installing Redis: jemalloc/jemalloc.h: No such file or directory

Was trying to install Redis on my EC2 test server just now and bump into this error.
zmalloc.h:51:31: error: jemalloc/jemalloc.h: No such file or directory
I was very sure that jemalloc was installed.

After searching for a while, I found the solution from redis-db Google Group.

Apparently, running
make distclean
solves the problem. It remove all compilation artifacts, and dependencies.



:)

4 comments: