On Sat, 2012-09-08 at 23:16:54 +0900, crocket wrote: > Below is the error log. > > cd src && make all > make[1]: Entering directory `/tmp/SBo/redis-2.4.14/src' > MAKE hiredis > make[2]: Entering directory `/tmp/SBo/redis-2.4.14/deps/hiredis' > cc -std=c99 -pedantic -c -O3 -fPIC -O2 -fPIC -Wall -W > -Wstrict-prototypes -Wwrite-strings -g -ggdb x86_64 net.c > cc: x86_64: No such file or directory > make[2]: *** [net.o] Error 1 > make[2]: Leaving directory `/tmp/SBo/redis-2.4.14/deps/hiredis' > make[1]: *** [dependencies] Error 2 > make[1]: Leaving directory `/tmp/SBo/redis-2.4.14/src' > make: *** [all] Error 2 > > What do I need to do for building redis?
I think the problem lies in the following line: redis-2.4.14/deps/hiredis/Makefile:18: REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG) $(ARCH) Not sure why $(ARCH) is there, but in your case it's set to 'x86_64' and that gets inserted in compiler line. Try unset ARCH before building redis. -- Audrius Kažukauskas http://neutrino.lt/
pgpmGKVohbQ3y.pgp
Description: PGP signature
_______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/