安装openssl 时,make
./config: error: the HTTP cache module requires md5 functions
from OpenSSL library. You can either disable the module by using
--without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using
--with-http_ssl_module --with-openssl=
出现以上错误;
1、读一下INSTALL文档
2、make clean清理一下
3、重新来一次
./config --prefix=/usr/local --openssldir=/usr/local/openssl
make;make test;make install
redis make 之后报错
cd src && make all
make[1]: 进入目录“/usr/local/waishelocal/redis/redis-5.0.3/src”
CC Makefile.dep
make[1]: 离开目录“/usr/local/waishelocal/redis/redis-5.0.3/src”
make[1]: 进入目录“/usr/local/waishelocal/redis/redis-5.0.3/src”
CC adlist.o
In file included from adlist.c:34:0:
zmalloc.h:50:31: 致命错误:jemalloc/jemalloc.h:没有那个文件或目录
include <jemalloc/jemalloc.h>
^
编译中断。
make[1]: *** [adlist.o] 错误 1
make[1]: 离开目录“/usr/local/waishelocal/redis/redis-5.0.3/src”
make: *** [all] 错误 2
- 查看是否安装gcc
- 清除重来,不喜看日志
make distclean; make