全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 15388|回复: 10
打印 上一主题 下一主题

[nginx] make: *** No rule to make target `build', needed by `default'. Stop.

[复制链接]
跳转到指定楼层
1#
发表于 2010-5-17 12:53:17 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
编译nginx 出现 make: *** No rule to make target `build', needed by `default'.  Stop.
求解!
2#
发表于 2010-5-17 12:55:09 | 只看该作者
./configure 跑了?

跑了就是出错了。dependencies弄好。
3#
发表于 2010-5-17 12:56:09 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
4#
 楼主| 发表于 2010-5-17 12:57:06 | 只看该作者
./configure --user=web --group=web --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module
make && make install
配置是这样的!
5#
发表于 2010-5-17 12:58:21 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
6#
 楼主| 发表于 2010-5-17 12:58:43 | 只看该作者
7#
 楼主| 发表于 2010-5-17 12:59:05 | 只看该作者
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

vps2906312:~/debian/nginx-0.7.65# make && make install
make: *** No rule to make target `build', needed by `default'.  Stop.
8#
发表于 2010-5-17 13:00:13 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
9#
 楼主| 发表于 2010-5-17 13:04:32 | 只看该作者
原帖由 Administrator 于 2010-5-17 13:00 发表
wget ftp://ftp.csx.cam.ac.uk/pub/soft ... cre/pcre-7.9.tar.gz
tar zxvf pcre-7.9.tar.gz
cd pcre-7.9/
./configure
make && make install

伪静态模块需要pcre库,先装上。

谢谢 安装了!
10#
 楼主| 发表于 2010-5-17 13:06:15 | 只看该作者
pcre-7.9 可以用 apt-get 安装吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-21 06:53 , Processed in 0.062662 second(s), 7 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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