Home  >  Article  >  Database  >  php 编译安装memcached报错

php 编译安装memcached报错

WBOY
WBOYOriginal
2016-06-07 16:28:141121browse

php 编译安装memcached报错 在包含自 memcached/assoc.c:14 的文件中:memcached/memcached.h:18:19: 错误:event.h:没有那个文件或目录In file included from memcached/assoc.c:14:memcached/memcached.h:358: 错误:字段‘notify_event’的类型不完全mem

php 编译安装memcached报错

在包含自 memcached/assoc.c:14 的文件中:
memcached/memcached.h:18:19: 错误:event.h:没有那个文件或目录
In file included from memcached/assoc.c:14:
memcached/memcached.h:358: 错误:字段‘notify_event’的类型不完全
memcached/memcached.h:380: 错误:字段‘event’的类型不完全
make[1]: *** [memcached/memcached_memcached-assoc.o] 错误 1
make[1]: Leaving directory `/home/disk_data/soft/libmemcached-1.0.6'
make: *** [all] 错误 2

解决办法

yum install libevent-devel
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn