Maison > Article > base de données > php 编译安装memcached报错
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
原文地址:php 编译安装memcached报错, 感谢原作者分享。