我正在尝试Grafana,我正在按照它的说明从源代码构建它。
虽然,当我开始创建优化的发布包时,在安装 FPM (v.1.4.0) 之后,我一直收到同样的错误:
$ fpm
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- ffi (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/fpm-1.4.0/lib/fpm/util.rb:3
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/fpm-1.4.0/lib/fpm/package.rb:2
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/fpm-1.4.0/lib/fpm.rb:3
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/fpm-1.4.0/bin/fpm:5
from /usr/bin/fpm:19:in `load'
from /usr/bin/fpm:19
关于它可能是什么的任何想法?我在 RedHat EL6 64 位机器上。