nginx安装遇到问题,急求帮助

[root@wmnginx-1.0.5]#./configure--prefix=/usr/local/nginx--with-http_stub_status_modu... [root@wm nginx-1.0.5]# ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-openssl=n3/openssl-1.0.0d --with-zlib=/n3/zlib-1.2.7
checking for OS
+ Linux 2.6.18-53.el5 i686
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.1.2 20070626 (Red Hat 4.1.2-14)
checking for gcc -pipe switch ... found
checking for gcc builtin atomic operations ... not found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
........
checking for PCRE library ... found
creating objs/Makefile
Configuration summary
+ using system PCRE library
+ using OpenSSL library: n3/openssl-1.0.0d
+ md5: using OpenSSL library
+ sha1: using OpenSSL library
+ using zlib library: /n3/zlib-1.2.7
nginx path prefix: "/usr/local/nginx"
nginx binary file: "/usr/local/nginx/sbin/nginx"
nginx configuration prefix: "/usr/local/nginx/conf"
nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
nginx pid file: "/usr/local/nginx/logs/nginx.pid"
nginx error log file: "/usr/local/nginx/logs/error.log"
nginx http access log file: "/usr/local/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@wm nginx-1.0.5]# make
make -f objs/Makefile
make[1]: Entering directory `/n3/nginx-1.0.5'
cd n3/openssl-1.0.0d \
&& make clean \
&& ./config --prefix=/n3/nginx-1.0.5/n3/openssl-1.0.0d/.openssl no-shared no-threads \
&& make \
&& make install LIBDIR=lib
/bin/sh: line 0: cd: n3/openssl-1.0.0d: No such file or directory
make[1]: *** [n3/openssl-1.0.0d/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/n3/nginx-1.0.5'
make: *** [build] Error 2
展开
 我来答
小清新丶绿
2012-11-28 · TA获得超过564个赞
知道小有建树答主
回答量:390
采纳率:75%
帮助的人:345万
展开全部
/bin/sh: line 0: cd: n3/openssl-1.0.0d: No such file or directory

这条报了找不到文件或者目录。还有你这个openssl版本有点问题 现在主流的都是0.9.8 1.0.0 还没用过不知道是否稳定哎
baby速度12
高能答主

2015-11-07 · 把复杂的事情简单说给你听
知道大有可为答主
回答量:4万
采纳率:86%
帮助的人:2952万
展开全部
[root@wm nginx-1.0.5]# ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-openssl=n3/openssl-1.0.0d --with-zlib=/n3/zlib-1.2.7
checking for OS
+ Linux 2.6.18-53.el5 i686
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.1.2 20070626 (Red Hat 4.1.2-14)
checking for gcc -pipe switch ... found
checking for gcc builtin atomic operations ... not found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
........
checking for PCRE library ... found
creating objs/Makefile
Configuration summary
+ using system PCRE library
+ using OpenSSL library: n3/openssl-1.0.0d
+ md5: using OpenSSL library
+ sha1: using OpenSSL library
+ using zlib library: /n3/zlib-1.2.7
nginx path prefix: "/usr/local/nginx"
nginx binary file: "/usr/local/nginx/sbin/nginx"
nginx configuration prefix: "/usr/local/nginx/conf"
nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
nginx pid file: "/usr/local/nginx/logs/nginx.pid"
nginx error log file: "/usr/local/nginx/logs/error.log"
nginx http access log file: "/usr/local/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@wm nginx-1.0.5]# make
make -f objs/Makefile
make[1]: Entering directory `/n3/nginx-1.0.5'
cd n3/openssl-1.0.0d \
&& make clean \
&& ./config --prefix=/n3/nginx-1.0.5/n3/openssl-1.0.0d/.openssl no-shared no-threads \
&& make \
&& make install LIBDIR=lib
/bin/sh: line 0: cd: n3/openssl-1.0.0d: No such file or directory
make[1]: *** [n3/openssl-1.0.0d/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/n3/nginx-1.0.5'
make: *** [build] Error 2
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

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

类别

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

说明

0/200

提交
取消

辅 助

模 式