+ -
当前位置:首页 → 问答吧 → nginx-0.8.20 安装问题

nginx-0.8.20 安装问题

时间:2010-04-26

来源:互联网

本人使用虚拟机,安装了一个RHEL 5 linux系统 操作系统版本为:Linux localhost.localdomain 2.6.18-164.el5;今天准备使用nginx做web服务器,安装了N久也不能OK,郁闷之极,请各位高手指点。
第一步:./configure  --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module   --with-zlib=disable (运行结果保存在文件log.log里面)
            运行结果正常。
第二步:make
            出错信息:
[root@localhost nginx-0.8.20]# make
make -f objs/Makefile
make[1]: Entering directory `/home/super/nginx-0.8.20'
cd /usr/lib/ssl \
        && make clean \
        && ./config --prefix=/usr/lib/ssl/.openssl no-shared  no-threads \
        && make \
        && make install
/bin/sh: line 0: cd: /usr/lib/ssl: 没有那个文件或目录
make[1]: *** [/usr/lib/ssl/.openssl/include/openssl/ssl.h] 错误 1
make[1]: Leaving directory `/home/super/nginx-0.8.20'
make: *** [build] 错误 2


请各位高人指点啊!

log.7z (1.02 KB)

下载次数:0

2010-04-26 15:39

作者: ids_company   发布时间: 2010-04-26

yum install openssl-devel -y

作者: scyzxp   发布时间: 2010-04-26

热门下载

更多