编译安装的beanstalkd 。。

来源:互联网 发布:北京外语大学网络教育 编辑:程序博客网 时间:2024/06/05 20:25
环境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了。。偷笑。好吧。。我闲着蛋疼。。

。。。。

原创粉丝点击