Board logo

标题: [求助] 运行“wget http://www.wdlinux.cn/in_scripts/up/nginx_u100”后出现错误提示 [打印本页]

作者: lxliun    时间: 2012-2-8 22:41     标题: 运行“wget http://www.wdlinux.cn/in_scripts/up/nginx_u100”后出现错误提示

本帖最后由 lxliun 于 2012-2-8 22:51 编辑

[root@ccxd ~]# wget http://www.wdlinux.cn/in_scripts/up/nginx_u100
sh nginx_u100:

checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for accept4() ... not found
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... not found
checking for PCRE library in /usr/pkg/ ... not found
checking for PCRE library in /opt/local/ ... not found

./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.

make: *** No rule to make target `build', needed by `default'.  Stop.
make: *** No rule to make target `install'.  Stop.
nginx_u100: line 21: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make err
作者: doxlzt    时间: 2012-2-9 08:35

编码错误,未找到程序的类,重新编译下
作者: admin    时间: 2012-2-9 10:02

wget -c http://dl.wdlinux.cn:5180/soft/pcre-8.10.tar.gz
tar zxvf pcre-8.10.tar.gz
cd pcre-8.10
./configure --prefix=/usr
make
make install
cd ..

再运行




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2