Board logo

标题: [求助] WDOS 安装memcache [打印本页]

作者: 100629338    时间: 2012-6-30 11:51     标题: WDOS 安装memcache

checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
/bin/sh /tmp/memcache-2.2.5/libtool --mode=compile cc -I/www/wdlinux/nginx_php-5.2.17/include/php -I. -I/tmp/memcache-2.2.5 -DPHP_ATOM_INC -I/tmp/memcache-2.2.5/include -I/tmp/memcache-2.2.5/main -I/tmp/memcache-2.2.5 -I/www/wdlinux/nginx_php-5.2.17/include/php -I/www/wdlinux/nginx_php-5.2.17/include/php/main -I/www/wdlinux/nginx_php-5.2.17/include/php/TSRM -I/www/wdlinux/nginx_php-5.2.17/include/php/Zend -I/www/wdlinux/nginx_php-5.2.17/include/php/ext -I/www/wdlinux/nginx_php-5.2.17/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/memcache-2.2.5/memcache.c -o memcache.lo
mkdir .libs
cc -I/www/wdlinux/nginx_php-5.2.17/include/php -I. -I/tmp/memcache-2.2.5 -DPHP_ATOM_INC -I/tmp/memcache-2.2.5/include -I/tmp/memcache-2.2.5/main -I/tmp/memcache-2.2.5 -I/www/wdlinux/nginx_php-5.2.17/include/php -I/www/wdlinux/nginx_php-5.2.17/include/php/main -I/www/wdlinux/nginx_php-5.2.17/include/php/TSRM -I/www/wdlinux/nginx_php-5.2.17/include/php/Zend -I/www/wdlinux/nginx_php-5.2.17/include/php/ext -I/www/wdlinux/nginx_php-5.2.17/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/memcache-2.2.5/memcache.c  -fPIC -DPIC -o .libs/memcache.o
/tmp/memcache-2.2.5/memcache.c:34:18: error: zlib.h: No such file or directory
/tmp/memcache-2.2.5/memcache.c: In function ?.hp_memcache_init_globals?.
/tmp/memcache-2.2.5/memcache.c:255: error: ?._DEFAULT_COMPRESSION?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:255: error: (Each undeclared identifier is reported only once
/tmp/memcache-2.2.5/memcache.c:255: error: for each function it appears in.)
/tmp/memcache-2.2.5/memcache.c: In function ?.mc_compress?.
/tmp/memcache-2.2.5/memcache.c:839: error: ?._OK?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:846: error: ?._MEM_ERROR?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:849: error: ?._BUF_ERROR?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:852: error: ?._STREAM_ERROR?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c: In function ?.mc_uncompress?.
/tmp/memcache-2.2.5/memcache.c:876: error: ?._BUF_ERROR?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:878: error: ?._OK?.undeclared (first use in this function)
make: *** [memcache.lo] Error 1
/bin/sh /tmp/memcache-2.2.5/libtool --mode=compile cc -I/www/wdlinux/nginx_php-5.2.17/include/php -I. -I/tmp/memcache-2.2.5 -DPHP_ATOM_INC -I/tmp/memcache-2.2.5/include -I/tmp/memcache-2.2.5/main -I/tmp/memcache-2.2.5 -I/www/wdlinux/nginx_php-5.2.17/include/php -I/www/wdlinux/nginx_php-5.2.17/include/php/main -I/www/wdlinux/nginx_php-5.2.17/include/php/TSRM -I/www/wdlinux/nginx_php-5.2.17/include/php/Zend -I/www/wdlinux/nginx_php-5.2.17/include/php/ext -I/www/wdlinux/nginx_php-5.2.17/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/memcache-2.2.5/memcache.c -o memcache.lo
cc -I/www/wdlinux/nginx_php-5.2.17/include/php -I. -I/tmp/memcache-2.2.5 -DPHP_ATOM_INC -I/tmp/memcache-2.2.5/include -I/tmp/memcache-2.2.5/main -I/tmp/memcache-2.2.5 -I/www/wdlinux/nginx_php-5.2.17/include/php -I/www/wdlinux/nginx_php-5.2.17/include/php/main -I/www/wdlinux/nginx_php-5.2.17/include/php/TSRM -I/www/wdlinux/nginx_php-5.2.17/include/php/Zend -I/www/wdlinux/nginx_php-5.2.17/include/php/ext -I/www/wdlinux/nginx_php-5.2.17/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/memcache-2.2.5/memcache.c  -fPIC -DPIC -o .libs/memcache.o
/tmp/memcache-2.2.5/memcache.c:34:18: error: zlib.h: No such file or directory
/tmp/memcache-2.2.5/memcache.c: In function ?.hp_memcache_init_globals?.
/tmp/memcache-2.2.5/memcache.c:255: error: ?._DEFAULT_COMPRESSION?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:255: error: (Each undeclared identifier is reported only once
/tmp/memcache-2.2.5/memcache.c:255: error: for each function it appears in.)
/tmp/memcache-2.2.5/memcache.c: In function ?.mc_compress?.
/tmp/memcache-2.2.5/memcache.c:839: error: ?._OK?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:846: error: ?._MEM_ERROR?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:849: error: ?._BUF_ERROR?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:852: error: ?._STREAM_ERROR?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c: In function ?.mc_uncompress?.
/tmp/memcache-2.2.5/memcache.c:876: error: ?._BUF_ERROR?.undeclared (first use in this function)
/tmp/memcache-2.2.5/memcache.c:878: error: ?._OK?.undeclared (first use in this function)
make: *** [memcache.lo] Error 1
extension=memcache.so
Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]

memcache install is OK

[root@wdOS ~]#
作者: 100629338    时间: 2012-6-30 11:52

但是 WDCP 后台显示为 启动
程序中无法启用
作者: admin    时间: 2012-7-1 20:34

重起一下系统
作者: vabcv    时间: 2012-7-18 04:00

重起 也没有啊
作者: admin    时间: 2012-7-18 10:18

32还是64,是哪个环境?




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