无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
【300G高防】双线 无视攻击 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] 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 ~]#

但是 WDCP 后台显示为 启动
程序中无法启用

TOP

重起一下系统
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

重起 也没有啊
VABCV.net

TOP

32还是64,是哪个环境?
看清提问三步曲及多看教程/FAQ索引(wdcp,v3,一键包,wdOS),益处多多.wdcp工具集 阿里云主机8折优惠码

TOP

返回列表