【发布时间】:2014-04-26 23:59:29
【问题描述】:
要安装 memcached,我运行:
./configure
来自 memcached 服务器位置,但我收到错误:
checking for libevent directory... configure: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/
If it's already installed, specify its path using --with-libevent=/dir/
所以我通过从http://www.monkey.org/~provos/libevent/ 下载并从下载的 libevent 文件夹运行 ./configure 手动安装了 libevent
但是当我尝试命令时:
./configure --with-libevent=/export/home/me/libevent-2.0.21-stable/
我收到同样的错误:
checking for libevent directory... configure: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/
If it's already installed, specify its path using --with-libevent=/dir/
如何查看 libevent 的安装位置?我是否正确指定了路径?
当我从防火墙后面安装 memcached 时,我需要手动安装 libevent。
【问题讨论】: