免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4810 | 回复: 0

求救 fluent-plugin-kafka插件不行,安装有问题 [复制链接]

论坛徽章:
0
发表于 2014-08-11 17:46 |显示全部楼层
我在用apt-get install 方式安装了ruby1.9.1 以及rubygems2.4...并且已经安装好了kafka以及td_agent  但是我采用gem install fluent-plugin-kafka时报错:
root@precise32:/etc/td-agent/plugin/fluent-plugin-kafka# gem install fluent-plugin-kafka
Building native extensions.  This could take a while...
ERROR:  Error installing fluent-plugin-kafka:
        ERROR: Failed to build gem native extension.

    /usr/bin/ruby1.9.1 -r ./siteconf20140811-11065-1j7zal1.rb extconf.rb
/usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- mkmf (LoadError)
        from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
        from extconf.rb:1:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/msgpack-0.5.8 for inspection.
Results logged to /usr/lib/ruby/gems/1.9.1/extensions/x86-linux/1.9.1/msgpack-0.5.8/gem_make.out
跪求解决方法阿。。。备注:rubygems下载源已经切换成了淘宝源了——在线等阿。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP