提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等
温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
按照这个安装的。
memcache的安装
wget -c http://down.wdlinux.cn/in/memcached_ins.sh
chmod 755 memcached_ins.sh
./memcached_ins.sh
服务启动或停止
service memcached start|stop|restart
或在后台启动也可
失败啊,重装了3次系统了。无奈。帮帮忙啊
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/apache_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/apache_php-5.2.17/include/php -I/www/wdlinux/apache_php-5.2.17/include/php/main -I/www/wdlinux/apache_php-5.2.17/include/php/TSRM -I/www/wdlinux/apache_php-5.2.17/include/php/Zend -I/www/wdlinux/apache_php-5.2.17/include/php/ext -I/www/wdlinux/apache_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/apache_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/apache_php-5.2.17/include/php -I/www/wdlinux/apache_php-5.2.17/include/php/main -I/www/wdlinux/apache_php-5.2.17/include/php/TSRM -I/www/wdlinux/apache_php-5.2.17/include/php/Zend -I/www/wdlinux/apache_php-5.2.17/include/php/ext -I/www/wdlinux/apache_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/apache_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/apache_php-5.2.17/include/php -I/www/wdlinux/apache_php-5.2.17/include/php/main -I/www/wdlinux/apache_php-5.2.17/include/php/TSRM -I/www/wdlinux/apache_php-5.2.17/include/php/Zend -I/www/wdlinux/apache_php-5.2.17/include/php/ext -I/www/wdlinux/apache_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/apache_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/apache_php-5.2.17/include/php -I/www/wdlinux/apache_php-5.2.17/include/php/main -I/www/wdlinux/apache_php-5.2.17/include/php/TSRM -I/www/wdlinux/apache_php-5.2.17/include/php/Zend -I/www/wdlinux/apache_php-5.2.17/include/php/ext -I/www/wdlinux/apache_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: [ OK ]
memcache install is OK |