Skip to content

Instantly share code, notes, and snippets.

@jvoorhis
Created February 20, 2009 04:33
Show Gist options
  • Save jvoorhis/67314 to your computer and use it in GitHub Desktop.
Save jvoorhis/67314 to your computer and use it in GitHub Desktop.
~ % sudo gem1.9 install ffi
Password:
Building native extensions. This could take a while...
ERROR: Error installing ffi:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby1.9 extconf.rb install ffi
checking for ffi_closure_alloc() in -lffi... no
creating Makefile
creating extconf.h
make
gcc -I. -I/usr/local/include/ruby1.9-1.9.1/i386-darwin9.5.0 -I/usr/local/include/ruby1.9-1.9.1/ruby/backward -I/usr/local/include/ruby1.9-1.9.1 -I. -I/usr/local/lib/ruby1.9/gems/1.9.1/gems/ffi-0.2.0/ext/build -I/usr/local/lib/ruby1.9/gems/1.9.1/gems/ffi-0.2.0/ext/build/libffi/include -DHAVE_EXTCONF_H -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/lib/ruby1.9/gems/1.9.1/gems/ffi-0.2.0/ext/build -I/usr/local/lib/ruby1.9/gems/1.9.1/gems/ffi-0.2.0/ext/build/libffi/include -fno-common -O2 -g -Wall -Wno-parentheses -pipe -fno-common -Werror -Wformat -o AbstractMemory.o -c AbstractMemory.c
cc1: warnings being treated as errors
AbstractMemory.c: In function ‘memory_put_string’:
AbstractMemory.c:181: warning: unused variable ‘nargs’
AbstractMemory.c:179: warning: unused variable ‘nulTerminate’
AbstractMemory.c: In function ‘memory_get_bytes’:
AbstractMemory.c:199: warning: unused variable ‘nargs’
make: *** [AbstractMemory.o] Error 1
Gem files will remain installed in /usr/local/lib/ruby1.9/gems/1.9.1/gems/ffi-0.2.0 for inspection.
Results logged to /usr/local/lib/ruby1.9/gems/1.9.1/gems/ffi-0.2.0/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment