当前位置:Gxlcms > mysql > php编译安装memcached报错

php编译安装memcached报错

时间:2021-07-01 10:21:17 帮助过:29人阅读

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

人气教程排行