安装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。
答案 0 :(得分:3)
下载并解压缩libevent
后,您必须配置,构建和安装它。
只有这样,您才能返回memcached
目录并重新运行其配置,指定您安装的位置libevent
,如果它不在其中一个标准位置(例如{{1} }},/lib
或/usr/lib
)。