Board logo

标题: [求助] memcache安装失败!!! [打印本页]

作者: vabcv    时间: 2012-7-18 14:26     标题: memcache安装失败!!!

按照这个安装的。

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
作者: vabcv    时间: 2012-7-18 14:34

这都是什么啊?
作者: marquis    时间: 2012-7-18 16:09

你是在什么环境下安装的
作者: vabcv    时间: 2012-7-18 16:55

回复 3# marquis


    wdOS1.0(64位),已经重装了3回系统,正在装32位版本的。试试吧。
作者: marquis    时间: 2012-7-18 16:58

回复 4# vabcv

32位  我试过了  没问题
作者: vabcv    时间: 2012-7-18 17:49

正在装32位版本,试试看吧。
500G硬盘,分区格式化需要2个小时啊,好漫长啊,为什么啊?
作者: admin    时间: 2012-7-18 17:58

这么久,肯定有问题
硬盘或是主板,或是接触
作者: admin    时间: 2012-7-18 20:17

已修复在64位下的安装问题
重新下载安装就可以




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