我现在熟悉couchbase C SDK和同步实例,但是我很难将它与异步I/O的libevent相结合。我读过couchbase 和,但我无法理解如何告诉我的event_base,例如:以下是我目前所做的工作:ciops.v.v0.cookie = mEvbase;
if (err !(NULL, err
compat-libevent14-1.4.13-1.rhel6.i686
file /usr/lib/libevent_core.a from install of libevent-devel/lib/libevent_core.so from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from packagecompat-libevent1
我已经编译了libevent并在$HOME/.bin-libevent中安装了它,现在我想编译tmux,但是配置总是以configure: error: "libevent not found"结尾,尽管我试图通过修改LDFLAGS和CPPFLAGS来指向Makefile.am中的libevent目录,但是似乎没有什么工作。
/configurechecking for libevent directory... configure: error: libevent is requiredits path using --with-libevent=/dir/但当我尝试指挥时:
./configure --with-libevent</
usr/lib64/libevent_core.a from install of compat-libevent14-1.4.13-1.rhel6.x86_64 conflicts with filefrom package libevent-devel-2.0.12-1.rhel6.x86_64
file /usr/lib64/libevent_core.so from install ofcompat-libevent14-1.4.13-1.rh