Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build gem native extension on OS X 10.10, Ruby 2.1.5 #40

Open
csu opened this issue Feb 2, 2015 · 1 comment
Open

Failed to build gem native extension on OS X 10.10, Ruby 2.1.5 #40

csu opened this issue Feb 2, 2015 · 1 comment

Comments

@csu
Copy link

csu commented Feb 2, 2015

csu:notes (master)$ gem install gollum-site
Building native extensions.  This could take a while...
ERROR:  Error installing gollum-site:
    ERROR: Failed to build gem native extension.

    /Users/christophersu/.rbenv/versions/2.1.5/bin/ruby extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include... no
checking for rb_thread_blocking_region()... yes
checking for ruby_native_thread_p()... yes
checking for rb_thread_call_with_gvl()... yes
creating extconf.h
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
Configuring libffi
/bin/sh: ..//Users/christophersu/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/ffi-1.0.12.rc3/ext/ffi_c/libffi/configure: No such file or directory
make: *** ["/Users/christophersu/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/ffi-1.0.12.rc3/ext/ffi_c/libffi"/.libs/libffi_convenience.a] Error 127

make failed, exit code 2

Gem files will remain installed in /Users/christophersu/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/ffi-1.0.12.rc3 for inspection.
Results logged to /Users/christophersu/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-14/2.1.0-static/ffi-1.0.12.rc3/gem_make.out
csu:notes (master)$ ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
csu:notes (master)$
@csu csu changed the title Failed to build gem native extension on Mac OS X 10.10, Ruby 2.1.5 Failed to build gem native extension on OS X 10.10, Ruby 2.1.5 Feb 2, 2015
@ninjapanzer
Copy link

I succeeded with gem install gollum-site -- --with-cflags=-Wno-implicit-function-declaration

At least this is an issue with Big Sur and clang default flags
tmm1/rbtrace#81 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants