centos 编译libevent_安装 – Centos:yum install compvent-libevent与libevent-devel冲突

我想安装Logstash和其他人,但是当我尝试时:

# yum install libevent-devel

我得到以下错误:

Transaction Check Error:

file /usr/bin/event_rpcgen.py from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686

file /usr/lib/libevent_core.a from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686

file /usr/lib/libevent_core.so from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686

file /usr/lib/libevent_extra.a from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686

file /usr/lib/libevent_extra.so from install of libevent-devel-2.0.12-1.rhel6.i686 conflicts with file from package compat-libevent14-1.4.13-1.rhel6.i686

请给我建议解决这个错误冲突.

# rpm -qi compat-libevent14

Name : compat-libevent14 Relocations: (not relocatable)

Version : 1.4.13 Vendor: (none)

Release : 1.rhel6 Build Date: Mon 19 Sep 2011 04:50:45 PM WIT

Install Date: Fri 28 Oct 2011 10:10:03 PM WIT Build Host: koji-sl6-i386-pg91

Group : System Environment/Libraries Source RPM: compat-libevent14-1.4.13-1.rhel6.src.rpm

Size : 427200 License: BSD

Signature : DSA/SHA1, Mon 19 Sep 2011 04:50:45 PM WIT, Key ID 1f16d2e1442df0f8

URL : http://monkey.org/~provos/libevent/

Summary : Abstract asynchronous event notification library

Description :

The libevent API provides a mechanism to execute a callback function

when a specific event occurs on a file descriptor or after a timeout

has been reached. libevent is meant to replace the asynchronous event

loop found in event driven network servers. An application just needs

to call event_dispatch() and can then add or remove events dynamically

without having to change the event loop.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值