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.



:)

Comments

  1. Thanks this helped me.

    ReplyDelete
  2. thanks, this saves me a lot of valuable time :)

    ReplyDelete
  3. Thanks for the post! very handy in a time of need. +=]

    ReplyDelete
  4. Thank you very much.

    ReplyDelete

Post a Comment

Popular posts from this blog

[Azure Websites PHP] Cross Domain request results in blank response page after Preflight HTTP OPTIONS

[Magento] Create Contact Form with Dynamic Recipient