I can't build fpm on centos6 because it requires me to build ruby 1.9.3. I can compile ruby 1.9.3, then I try to gem install fpm, which depends on ffi. When it tries to compile ffi 1.11 it fails
make[3]: Leaving directory `/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.11.0/ext/ffi_c/libffi-x86_64-linux'
make[2]: Leaving directory `/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.11.0/ext/ffi_c/libffi-
make[1]: Leaving directory `/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.11.0/ext/ffi_c/libffi-x86_64-linux'
compiling Pointer.c
compiling Platform.c
compiling StructLayout.c
compiling Buffer.c
compiling MethodHandle.c
compiling LongDouble.c
compiling Type.c
compiling StructByValue.c
compiling Call.c
Call.c:46:25: error: ruby/thread.h: No such file or directory
using ffi 1.10 works fine.
I can't build fpm on centos6 because it requires me to build ruby 1.9.3. I can compile ruby 1.9.3, then I try to gem install fpm, which depends on ffi. When it tries to compile ffi 1.11 it fails
using ffi 1.10 works fine.