install redis redis-2.4.17 fail #706

Closed
linkewei opened this Issue Oct 10, 2012 · 2 comments

Projects

None yet

3 participants

@linkewei

hi,all
when i install redis-2.4.17 ,have these error,my operator sytem is Linux 2.6.9-67.ELsmp,can any one help me,thanks!

[root@somehostname redis-2.4.17]# make
cd src && make all
make[1]: Entering directory /usr/local/redis-2.4.17/src' MAKE hiredis make[2]: Entering directory/usr/local/redis-2.4.17/deps/hiredis'
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c
ar rcs libhiredis.a net.o hiredis.o sds.o async.o
make[2]: Leaving directory /usr/local/redis-2.4.17/deps/hiredis' MAKE linenoise make[2]: Entering directory/usr/local/redis-2.4.17/deps/linenoise'
cc -c -Wall -W -Os -g linenoise.c
cc -c -Wall -W -Os -g example.c
cc -Wall -W -Os -g -o linenoise_example linenoise.o example.o
make[2]: Leaving directory `/usr/local/redis-2.4.17/deps/linenoise'
MAKE jemalloc
checking for xsltproc... /usr/bin/xsltproc
checking for gcc... gcc
checking whether the C compiler works... yes

make[2]: Entering directory /usr/local/redis-2.4.17/deps/jemalloc' gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/jemalloc.o src/jemalloc.c In file included from include/jemalloc/internal/jemalloc_internal.h:58, from src/jemalloc.c:2: include/jemalloc/jemalloc.h:39: visibility arg must be one of "hidden", "protected" or "internal" include/jemalloc/jemalloc.h:41: visibility arg must be one of "hidden", "protected" or "internal" include/jemalloc/jemalloc.h:43: visibility arg must be one of "hidden", "protected" or "internal" include/jemalloc/jemalloc.h:45: visibility arg must be one of "hidden", "protected" or "internal" include/jemalloc/jemalloc.h:47: warning:nonnull' attribute directive ignored
include/jemalloc/jemalloc.h:47: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:49: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:50: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:51: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:55: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:59: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:62: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:64: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:66: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:68: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:70: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:74: warning: nonnull' attribute directive ignored include/jemalloc/jemalloc.h:74: visibility arg must be one of "hidden", "protected" or "internal" include/jemalloc/jemalloc.h:76: warning:nonnull' attribute directive ignored
include/jemalloc/jemalloc.h:76: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:78: warning: nonnull' attribute directive ignored include/jemalloc/jemalloc.h:78: visibility arg must be one of "hidden", "protected" or "internal" include/jemalloc/jemalloc.h:80: warning:nonnull' attribute directive ignored
include/jemalloc/jemalloc.h:80: visibility arg must be one of "hidden", "protected" or "internal"
include/jemalloc/jemalloc.h:81: visibility arg must be one of "hidden", "protected" or "internal"
src/jemalloc.c:863: warning: nonnull' attribute directive ignored make[2]: *** [src/jemalloc.o] Error 1 make[2]: Leaving directory/usr/local/redis-2.4.17/deps/jemalloc'
make[1]: *** [../deps/jemalloc/lib/libjemalloc.a] Error 2
make[1]: Leaving directory `/usr/local/redis-2.4.17/src'
make: *** [all] Error 2

@antirez
Owner
antirez commented Oct 10, 2012

Hi! your system has issues compiling jemalloc, so it seems like a problem with the development environment and not with Redis itself. Closing this issue, but you are likely to receive some help posting your problem in the Redis Google Group. Cheers.

@antirez antirez closed this Oct 10, 2012
@AgrawalAshishS

Look #722 for batter answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment