首页 >数据库 >mysql教程 >php 编译安装memcached报错

php 编译安装memcached报错

WBOY
WBOY原创
2016-06-07 16:28:141164浏览

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
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn