错误信息:
ERROR! autoconf required! install autoconf first
Makefile:4: build_config.mk: No such file or directory
make: *** No rule to make target `build_config.mk'. Stop.
第一时间想到:没有装autoconf,但是用 rpm -qa|grep autoconf查询发现已经安装过,卸载重装还不行
去github上查询issue,找到答案
https://github.com/ideawu/ssdb/issues/983
https://github.com/ideawu/ssdb/issues/1056
是因为容器没有安装which,但是ssdb源码中用到了which命令,但是报错信息没有体现
直接: yum install -y which
再make
ok