LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1141|回复: 1

nginx安装出错 麻烦高手们看下

[复制链接]
发表于 2009-8-5 13:52:58 | 显示全部楼层 |阅读模式
安装步骤为
tar -zxvf pcre-7.8.tar.gz
cd pcre-7.8/
./configure
make
make install

tar -zxvf zlib-1.2.3.tar.gz
cd zlib-1.2.3
./configure --prefix=/usr/local/zlib
make
make install

tar -zxvf nginx-0.6.38.tar.gz
cd nginx-0.6.38
./configure --prefix=/usr/local/nginx --user=www --group=www --with-pcre=/usr/local/lib --with-zlib=/usr/local/zlib --with-http_stub_status_module --with-http_ssl_module
make时候出错

提示
make -f objs/Makefile
make[1]: Entering directory `/root/software/nginx-0.6.38'
cd /usr/local/lib \
        && if [ -f Makefile ]; then make distclean; fi \
        && CC="gcc" CFLAGS="" \
        ./configure --disable-shared
/bin/sh: line 2: ./configure: 没有那个文件或目录
make[1]: *** [/usr/local/lib/Makefile] 错误 127
make[1]: Leaving directory `/root/software/nginx-0.6.38'
make: *** [build] 错误 2
发表于 2009-8-5 14:34:19 | 显示全部楼层
能configure过去, 说明应该不缺包, make时出错,比较麻烦, 建议换个高版本或低的版本试试了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表