Redis installation. - Jemalloc "Newer version of jemalloc required"

1,197 views
Skip to first unread message

Marcos Sampaio

unread,
Sep 3, 2015, 12:03:23 PM9/3/15
to Redis DB

I am setting up a new redis server, but i got some problems with jemalloc. Make hiredis linenoise lua it's ok.


cd redis-3.0.3
sudo make install

error:

In file included from adlist.c:34:
zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory
zmalloc.h:55:2: error: #error "Newer version of jemalloc required"
make[1]: *** [adlist.o] Error 1
make[1]: Leaving directory `/usr/local/redis-3.0.3/src'
make: *** [all] Error 2

config.log


configure:2931: checking whether the C compiler works

configure:2953: gcc    conftest.c  >&5

configure:2957: $? = 0

configure:3005: result: yes

configure:3008: checking for C compiler default output file name

configure:3010: result: a.out

configure:3016: checking for suffix of executables

configure:3023: gcc -o conftest    conftest.c  >&5

configure:3027: $? = 0

configure:3049: result:

configure:3071: checking whether we are cross compiling

configure:3079: gcc -o conftest    conftest.c  >&5

configure:3083: $? = 0

configure:3090: ./conftest

./configure: line 3092: ./conftest: Permission denied

configure:3094: $? = 126

configure:3101: error: in `/usr/local/redis-3.0.3/deps/jemalloc':

configure:3103: error: cannot run C compiled programs.

If you meant to cross compile, use `--host'.


Itamar Haber

unread,
Sep 3, 2015, 12:05:45 PM9/3/15
to redi...@googlegroups.com

Do 'make distclean' first, then the rest.

--
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/d/optout.

Marcos Sampaio

unread,
Sep 3, 2015, 1:12:46 PM9/3/15
to Redis DB
Itamar,
            Thanks for your reply, but i got the same error. Do you have another suggestion? I tried many solutions, but i always get the same error.

Paulino Huerta

unread,
Sep 3, 2015, 2:47:29 PM9/3/15
to redis-db
Please describe your system, otherwise it is not possible to reproduce the error.

If you're on Ubuntu, you should run
sudo apt-get install build-essential (first thing)
make distclean
...
...
Reply all
Reply to author
Forward
0 new messages