[Slackbuilds-users] Redis compilation error with ARCH x86_64

Giorgio Peron giorgio.peron at gmail.com
Sat Jan 19 00:56:10 UTC 2013


I got this error during the Redis compilation on a 64 bit machine

MAKE hiredis

cd hiredis && make static

make[3]: Entering directory `/tmp/SBo/redis-2.6.5/deps/hiredis'

cc -std=c99 -pedantic -c -O3 -fPIC -O2 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb x86_64 net.c

cc: error: x86_64: No such file or directory

make[3]: *** [net.o] Error 1

make[3]: Leaving directory `/tmp/SBo/redis-2.6.5/deps/hiredis'

make[2]: *** [hiredis] Error 2

make[2]: Leaving directory `/tmp/SBo/redis-2.6.5/deps'

make[1]: [persist-settings] Error 2 (ignored)

     CC adlist.o

In file included from adlist.c:34:0:

zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory

compilation terminated.

make[1]: *** [adlist.o] Error 1

make[1]: Leaving directory `/tmp/SBo/redis-2.6.5/src'

make: *** [all] Error 2


my workaround was unset and set the ARCH variable before and after the 
make command. There is a better solution?
Giorgio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130119/00737a7f/attachment-0001.html>


More information about the SlackBuilds-users mailing list