cc: ../deps/hiredis/libhiredis.a: No such file or directory cc: ../deps/lua/src/liblua.a: No such file or directory cc: ../deps/geohash-int/geohash.o: No such file or directory cc: ../deps/geohash-int/geohash_helper.o: No such file or directory make[1]: * [redis-server] Error 1 make[1]: Leaving directory `/usr/local/src/redis-3.2.9/src' make: * [all] Error 2
解決辦法
進入源碼包目錄下的deps目錄中執行
make geohash-int hiredis jemalloc linenoise lua
然后再進行make編譯就可以了