提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等
温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
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 ~]# |