全球主机交流论坛

标题: make: *** No rule to make target `build', needed by `default'. Stop. [打印本页]

作者: pfdiy    时间: 2010-5-17 12:53
标题: make: *** No rule to make target `build', needed by `default'. Stop.
编译nginx 出现 make: *** No rule to make target `build', needed by `default'.  Stop.
求解!
作者: ccp    时间: 2010-5-17 12:55
./configure 跑了?

跑了就是出错了。dependencies弄好。
作者: Administrator    时间: 2010-5-17 12:56
提示: 作者被禁止或删除 内容自动屏蔽
作者: pfdiy    时间: 2010-5-17 12:57
./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
配置是这样的!
作者: Administrator    时间: 2010-5-17 12:58
提示: 作者被禁止或删除 内容自动屏蔽
作者: pfdiy    时间: 2010-5-17 12:58

作者: pfdiy    时间: 2010-5-17 12:59
./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.
作者: Administrator    时间: 2010-5-17 13:00
提示: 作者被禁止或删除 内容自动屏蔽
作者: pfdiy    时间: 2010-5-17 13:04
原帖由 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库,先装上。

谢谢 安装了!
作者: pfdiy    时间: 2010-5-17 13:06
pcre-7.9 可以用 apt-get 安装吗?
作者: Administrator    时间: 2010-5-17 13:12
提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 全球主机交流论坛 (https://91ai.net/) Powered by Discuz! X3.4