首页 > 其他 > 详细

在Linux系统中安装LNMP出现的错误总结

时间:2014-03-10 18:50:49      阅读:552      评论:0      收藏:0      [点我收藏+]

1.安装nginx软件出现的错误

collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/root/nginx-1.3.13‘
make: *** [build] Error 2
[root@centos nginx-1.3.13]#

解决方法:

[root@centos nginx-1.3.13]# yum install pcre-*
[root@centos nginx-1.3.13]# ./configure --user=nginx --group=nginx --with-pcre  --without-http_gzip_module --without-http_rewrite_module --without-http_proxy_module --without-http_upstream_ip_hash_module --without-http_upstream_least_conn_module --without-http_upstream_keepalive_module --with-http_stub_status_module --with-http_flv_module --with-http_mp4_module

测试:

[root@centos nginx-1.3.13]#
.....................................
-e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|" < man/nginx.8 > objs/nginx.8
make[1]: Leaving directory `/root/nginx-1.3.13‘
[root@centos nginx-1.3.13]# echo $?      --没有错误
0
[root@centos nginx-1.3.13]#

 

本文出自 “一起走过的日子” 博客,谢绝转载!

在Linux系统中安装LNMP出现的错误总结,布布扣,bubuko.com

在Linux系统中安装LNMP出现的错误总结

原文:http://tongcheng.blog.51cto.com/6214144/1371466

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!