环境centos 6.0 libevent 版本是2.+。。。。编译安装一直出错。。/usr/include/stdio.h:419: error: expected identifier or ‘(’ before ‘void’
这是会报错的。。
/usr/include/stdio.h:419: error: expected ‘)’ before numeric constant
。。。官方装法。。
su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'
su -c 'yum install beanstalkd --enablerepo=epel-testing'
这是会报错的。。
su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
第二条不变就ok了。。。好吧。。我闲着蛋疼。。
。。。。