gpt4 book ai didi

nginx - Nginx-src/core/ngx_sha1.h :19:17: no such file or directory

转载 作者:行者123 更新时间:2023-12-02 10:46:47 24 4
gpt4 key购买 nike

我尝试使用nginx-push-stream-module安装nginx

./configure --prefix=/etc/nginx --add-module=../nginx-push-stream-module
make
make install

运行“make”后,我收到以下消息:
In file included from src/core/ngx_crypt.c:12:0:
src/core/ngx_sha1.h:19:17: fatal error: sha.h: No such file or directory
#include <sha.h>
^
compilation terminated.

最佳答案

我通过安装openssl libs在Ubuntu上解决了此问题:

sudo apt-get install openssl openssl-dev

然后进行清洁并:
./configure --add-module=../nginx-push-stream-module

然后再次运行make。

关于nginx - Nginx-src/core/ngx_sha1.h :19:17: no such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32314064/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com