安装NGINX时执行./configure发生错误

来源:16-2 用 Nginx 实现端口转发

一枚前端工程师

2019-11-26

老师你好,我的服务器是centos的安装NGINX时执行./configure和make发生错误:
checking for uint32_t … uint32_t not found, u_int32_t not found
./configure: error: can not define uint32_t
[root@rito-50 nginx-1.11.10]# make
make: *** No rule to make target build', needed bydefault’. Stop.
怎么解决?

写回答

1回答

lewis

2019-11-27

推荐使用 yum 安装,参考: https://qizhanming.com/blog/2018/08/06/how-to-install-nginx-on-centos-7

0
1
一枚前端工程师
一试就成功了,比网上的方法简单太多了
2019-11-27
共1条回复

Node.js仿知乎服务端-深入理解RESTful API

Koa2+MongoDB+Postman+JWT+阿里云

952 学习 · 331 问题

查看课程