Skip to content

Instantly share code, notes, and snippets.

@mattmartini
Created May 12, 2014 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattmartini/b2f8ad3b4e6c57325d38 to your computer and use it in GitHub Desktop.
Save mattmartini/b2f8ad3b4e6c57325d38 to your computer and use it in GitHub Desktop.
/Users/USERNAME/.rvm/rubies/ruby-1.9.3-p545/bin/ruby extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for rb_thread_blocking_region()... yes
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile
make clean
make
mkdir -p "/Users/USERNAME/.rvm/gems/ruby-1.9.3-p545@CLIENTNAME/gems/ffi-1.9.3/ext/ffi_c"/libffi-x86_64; (if [ ! -f "/Users/USERNAME/.rvm/gems/ruby-1.9.3-p545@CLIENTNAME/gems/ffi-1.9.3/ext/ffi_c"/libffi-x86_64/Makefile ]; then echo "Configuring libffi for x86_64"; cd "/Users/USERNAME/.rvm/gems/ruby-1.9.3-p545@CLIENTNAME/gems/ffi-1.9.3/ext/ffi_c"/libffi-x86_64 && env CC=" /usr/local/opt/gcc46/bin/gcc-4.6" CFLAGS="-arch x86_64 " LDFLAGS="-arch x86_64" "/Users/USERNAME/.rvm/gems/ruby-1.9.3-p545@CLIENTNAME/gems/ffi-1.9.3/ext/ffi_c/libffi"/configure --disable-static --with-pic=yes --disable-dependency-tracking --host=x86_64-apple-darwin > /dev/null; fi); env MACOSX_DEPLOYMENT_TARGET=10.4 make -C "/Users/USERNAME/.rvm/gems/ruby-1.9.3-p545@CLIENTNAME/gems/ffi-1.9.3/ext/ffi_c"/libffi-x86_64
Configuring libffi for x86_64
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
configure: error: in `/Users/USERNAME/.rvm/gems/ruby-1.9.3-p545@CLIENTNAME/gems/ffi-1.9.3/ext/ffi_c/libffi-x86_64':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[1]: *** No targets specified and no makefile found. Stop.
make: *** ["/Users/USERNAME/.rvm/gems/ruby-1.9.3-p545@CLIENTNAME/gems/ffi-1.9.3/ext/ffi_c"/libffi-x86_64/.libs/libffi_convenience.a] Error 2
make failed, exit code 2
Gem files will remain installed in /Users/USERNAME/.rvm/gems/ruby-1.9.3-p545@CLIENTNAME/gems/ffi-1.9.3 for inspection.
Results logged to /Users/USERNAME/.rvm/gems/ruby-1.9.3-p545@CLIENTNAME/extensions/x86_64-darwin-12/1.9.1/ffi-1.9.3/gem_make.out
An error occurred while installing ffi (1.9.3), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.3'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment