欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

php 编译安装memcached报错

程序员文章站 2024-02-13 11:42:58
...

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