cento

CentOS上安装Memcache及问题解决

自古美人都是妖i 提交于 2019-12-03 02:02:17
本文记录一次在CentOS上安装Memcache的过程,其中也包含了安装过程中遇到的错误以及相应的解决方法。 Libevent安装 可以访问 libevent.org 网站下载最新的libevent,本文使用的是 libevent-2.0.22-stable ,将下载的tar.gz包放到自己想安装的目录下。 解压缩 [root@dev18 libevent]# tar -zvxf libevent-2.0.22-stable.tar.gz ./configure 进入解压后的目录,执行 ./configure [root@dev18 libevent]# cd libevent-2.0.22-stable [root@dev18 libevent]# ./configure 执行后,部分配置显示的内容如下: checking for struct addrinfo... yes checking for struct sockaddr_storage... yes checking for struct in6_addr.s6_addr32... yes checking for struct in6_addr.s6_addr16... yes checking for struct sockaddr_in.sin_len... no checking for struct