Ubuntn安装nginx问题解决
出现”struct crypt_data”没有名为”current_salt”成员的错误
解决方案:进入相应路径,将源码的第36行注释
然后继续make && make install
- 出现-Werror=cast-function-type错误
解决方案
1 | #进入nginx目录下的objs目录 |
去除掉 –Werror
继续make && make install
- Post title:Ubuntn安装nginx问题解决
- Post author:秋水
- Create time:2024-04-05 20:55:48
- Post link:tai769.github.io2024/04/05/Ubuntn安装nginx问题解决/
- Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.