在编译redis3.2.9时报错
cc: ../deps/hiredis/libhiredis.a: No such file or directorycc: ../deps/lua/src/liblua.a: No such file or directorycc: ../deps/geohash-int/geohash.o: No such file or directorycc: ../deps/geohash-int/geohash_helper.o: No such file or directorymake[1]: * [redis-server] Error 1make[1]: Leaving directory `/usr/local/src/redis-3.2.9/src'make: * [all] Error 2
解决办法
进入源码包目录下的deps目录中执行
make geohash-int hiredis jemalloc linenoise lua
然后再进行make编译就可以了
时间: 2024-10-23 12:23:27