免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3567 | 回复: 8

[Web] nginx-0.8.20 安装问题 [复制链接]

论坛徽章:
0
发表于 2010-04-26 15:39 |显示全部楼层
本人使用虚拟机,安装了一个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, 下载次数: 25

论坛徽章:
0
发表于 2010-04-26 17:10 |显示全部楼层
yum install openssl-devel -y

论坛徽章:
0
发表于 2010-04-27 11:35 |显示全部楼层
回复 2# scyzxp


    LZ,问题是我的没有注册,不能使用yum,且我单独下载一个openssl-devel安装也提示失败啊!

论坛徽章:
0
发表于 2010-04-28 10:23 |显示全部楼层
“/bin/sh: line 0: cd: /usr/lib/ssl: 没有那个文件或目录”


this sentence  explicitly tell you where your problem is .the main reason

1\you don't install relative software packages.
2\you don't configure the right library

论坛徽章:
0
发表于 2010-04-28 11:50 |显示全部楼层
你不会使用yum搞成centos的源呀

论坛徽章:
0
发表于 2010-04-28 14:42 |显示全部楼层
回复 5# scyzxp


    what he said is right.you can centos resource rather than rhel resource.their resource is not different.

论坛徽章:
0
发表于 2010-06-10 15:26 |显示全部楼层
你可以把光盘拷到本机,做个YUM-SERVER,安装文件很方便.

论坛徽章:
0
发表于 2010-06-16 08:38 |显示全部楼层
将光盘做个镜像,然后修改yum配置文件,指定光盘路径,再用yum list命令测试一下即可!

论坛徽章:
0
发表于 2010-06-18 14:30 |显示全部楼层
回复 1# ids_company


    那不是写着的么      你没装openSSL
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP