nginx安装过程,报错处理:make[1]: *** [objs/addon/src/bson.o] Error 1
2015-06-18 16:21
736 查看
nginx安装过程中,经常会有各种错误;
具体安装步骤这里不做说明,网上一搜大把;
主要分析安装过程中遇到的问题
在make编译的时候,若报如下错误:
cc1: warnings being treated as errors
/home/mongo/gridfs-nginx-plugin/mongo-c-driver/src/bson.c: In function ‘bson_ensure_space’:
/home/mongo/gridfs-nginx-plugin/mongo-c-driver/src/bson.c:632: warning: comparison between signed and unsigned
make[1]: *** [objs/addon/src/bson.o] Error 1
make[1]: Leaving directory `/home/mongo/nginx-1.7.9'
make: *** [build] Error 2
在objs/Makefile中将 -Werror 删除,对于warnings忽略
然后再执行make && make install 安装
问题搞定;
具体安装步骤这里不做说明,网上一搜大把;
主要分析安装过程中遇到的问题
在make编译的时候,若报如下错误:
cc1: warnings being treated as errors
/home/mongo/gridfs-nginx-plugin/mongo-c-driver/src/bson.c: In function ‘bson_ensure_space’:
/home/mongo/gridfs-nginx-plugin/mongo-c-driver/src/bson.c:632: warning: comparison between signed and unsigned
make[1]: *** [objs/addon/src/bson.o] Error 1
make[1]: Leaving directory `/home/mongo/nginx-1.7.9'
make: *** [build] Error 2
在objs/Makefile中将 -Werror 删除,对于warnings忽略
然后再执行make && make install 安装
问题搞定;
相关文章推荐
- nginx安装过程,报错处理:make[1]: *** [objs/addon/src/bson.o] Error 1
- nginx 软连接
- nginx 设置反响代理实现nginx集群
- NginxV1.8.0安装与配置
- WEB服务器之——Nginx支持CGI
- python处理nginx日志入库
- tengine + mysql + nginx + php
- Yum安装nginx
- nginx配置详解
- nginx访问selinux权限问题
- Nginx的配置
- linux中查看nginx、apache、php、mysql配置文件路径的方法
- linux中查看nginx、apache、php、mysql配置文件路径的方法
- 为最佳性能调优 Nginx
- Nginx 服务器安装及配置文件详解
- nginx.conf
- 解决nginx
- nginx
- 利用nginx泛域名解析配置二级域名和多域名
- Nginx缓存整理