在安装NGINX的时候,出现错误,请前辈帮帮忙 10

[root@localhostnginx-1.8.0]#./configure--prefix=/www/service/nginx--with-pcre=/pcre--... [root@localhost nginx-1.8.0]# ./configure --prefix=/www/service/nginx --with-pcre=/pcre --with-zlib=/zlib
checking for OS
+ Linux 2.6.32-431.20.5.el6.x86_64 x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
checking for gcc -pipe switch ... found

....more line...

checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
checking for md5 in system md library ... not found
checking for md5 in system md5 library ... not found
checking for md5 in system OpenSSL crypto library ... not found
checking for sha1 in system md library ... not found
checking for sha1 in system OpenSSL crypto library ... not found
creating objs/Makefile

Configuration summary
+ using PCRE library: /pcre
+ OpenSSL library is not used
+ using builtin md5 code
+ sha1 library is not found
+ using zlib library: /zlib

nginx path prefix: "/www/service/nginx"
nginx binary file: "/www/service/nginx/sbin/nginx"
nginx configuration prefix: "/www/service/nginx/conf"
nginx configuration file: "/www/service/nginx/conf/nginx.conf"
nginx pid file: "/www/service/nginx/logs/nginx.pid"
nginx error log file: "/www/service/nginx/logs/error.log"
nginx http access log file: "/www/service/nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"

[root@localhost nginx-1.8.0]# make
make -f objs/Makefile
make[1]: Entering directory `/download/nginx-1.8.0'
cd /pcre \
&& if [ -f Makefile ]; then make distclean; fi \
&& CC="cc" CFLAGS="-O2 -fomit-frame-pointer -pipe " \
./configure --disable-shared
/bin/sh: line 2: ./configure: No such file or directory
make[1]: *** [/pcre/Makefile] Error 127
make[1]: Leaving directory `/download/nginx-1.8.0'
make: *** [build] Error 2
[root@localhost nginx-1.8.0]#
展开
 我来答
  • 你的回答被采纳后将获得:
  • 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏10(财富值+成长值)
babymavis1120
2018-06-09
知道答主
回答量:4
采纳率:0%
帮助的人:4188
展开全部
yum -y install gcc
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
函幻巧WM
2017-08-21 · TA获得超过231个赞
知道小有建树答主
回答量:249
采纳率:62%
帮助的人:46.8万
展开全部
可以我知道你安装免安装版本的试试看,我的成功了
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
微水文00
2015-04-30 · TA获得超过392个赞
知道大有可为答主
回答量:2597
采纳率:0%
帮助的人:1429万
展开全部
这个是编译安装的有问题哦, 看下wo 的网名吧, 一定可以解决的哦!!
本回答被网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式