Skip to content

Instantly share code, notes, and snippets.

@luckyruby
Created January 19, 2012 21:46
Show Gist options
  • Save luckyruby/1643017 to your computer and use it in GitHub Desktop.
Save luckyruby/1643017 to your computer and use it in GitHub Desktop.
Installing ffi (0.6.3) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/klin/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb
extconf.rb:6: Use RbConfig instead of obsolete and deprecated Config.
checking for ffi_call() in -lffi... yes
checking for ffi_prep_closure()... yes
checking for ffi_raw_call()... yes
checking for ffi_prep_raw_closure()... yes
checking for rb_thread_blocking_region()... yes
creating extconf.h
creating Makefile
make
compiling Variadic.c
compiling Type.c
compiling Buffer.c
compiling Platform.c
compiling ArrayType.c
compiling StructLayout.c
StructLayout.c: In function ‘struct_layout_initialize’:
StructLayout.c:363:9: error: lvalue required as left operand of assignment
make: *** [StructLayout.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment