cd src && make all
make[1]: 进入目录“/usr/local/redis/src”
/bin/sh: 1: pkg-config: not found
CC Makefile.dep
/bin/sh: 1: pkg-config: not found
CC adlist.o
/bin/sh: 1: cc: not found
Makefile:368: recipe for target 'adlist.o' failed
make[1]: *** [adlist.o] Error 127
make[1]: 离开目录“/usr/local/redis/src”
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
解决办法
cd deps/
sudo make lua hiredis linenoise
可能还会有报错
cd jemalloc
./configure
make && make install_bin install_include install_lib
2021-06-05ubantu安装redis recipe for target ‘adlist.o‘ failed
个人记录 安装reids数据库报错记录cd src && make allmake[1]: 进入目录“/usr/local/redis/src”/bin/sh: 1: pkg-config: not found CC Makefile.dep/bin/sh: 1: pkg-config: not found CC adlist.o/bin/sh: 1: cc: not foundMakefile:368: recipe for target 'adlist.o' faile