Skip to content

ffi 1.11 fails to build on ruby 1.9.3 #699

Description

@aflat

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions