openssl make报错

安装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= options.

出现以上错误;
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

  1. 查看是否安装gcc
  2. 清除重来,不喜看日志
    make distclean; make

posted on   antor  阅读(106)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
点击右上角即可分享
微信分享提示