ZBLOG

wj@ubuntu:~/Project/nginx-1.16.1$ sudo ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_realip_module --with-http_v2_module --withopenssl=../openssl-1.1.1g --add-module=/home/wj/Project/fastdf...

根据你提供的错误信息,可以看出有以下问题:

  1. 错误提示中指出了无效选项 “–withopenssl=../openssl-1.1.1g”。这是因为在配置命令中使用了不正确的选项名称。正确的选项应该是 “–with-openssl=../openssl-1.1.1g”(注意中间有一个连字符 “-”)。

  2. 对于路径 “/home/wj/Project/nginx_upload_module-2.2.0” 和 “/home/wj/Project/fastdfs-nginx-module/src” 找不到文件或目录的错误,请确保路径是正确的,并且相应的模块代码确实存在于这些位置。另外,检查一下权限是否足够,以允许读取这些文件或目录。

修正后的 configure 命令如下:

sudo ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_realip_module --with-http_v2_module --with-openssl=../openssl-1.1.1g --add-module=/home/wj/Project/nginx_upload_module-2.2.0 --add-module=/home/wj/Project/fastdfs-nginx-module/src

请确保在运行命令之前确认以上路径和文件都存在,并且使用正确的选项名称。如果问题仍然存在,请提供更多详细信息以便进一步排查。


内容由零声教学AI助手提供,问题来源于学员提问

本站部分文章来源于网络,版权归原作者所有,如有侵权请联系站长删除。
转载请注明出处:https://golang.0voice.com/?id=17552

分享:
扫描分享到社交APP
上一篇
下一篇
发表列表
游客 游客
此处应有掌声~
评论列表

还没有评论,快来说点什么吧~

联系我们

在线咨询: 点击这里给我发消息

微信号:3007537140

上班时间: 10:30-22:30

关注我们
x

注册

已经有帐号?