package configuration for libffi is not found have_header: checking for ffi.h... -------------------- no "gcc -o conftest -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/ruby/backward -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -Wl,-R/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main() {return 0;} /* end */ "gcc -E -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/ruby/backward -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -o conftest.i" conftest.c:3:17: fatal error: ffi.h: No such file or directory compilation terminated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- find_header: checking for ffi.h in /usr/local/include... -------------------- no "gcc -E -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/ruby/backward -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -o conftest.i" conftest.c:3:17: fatal error: ffi.h: No such file or directory compilation terminated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ "gcc -E -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/ruby/backward -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC -I/usr/local/include conftest.c -o conftest.i" conftest.c:3:17: fatal error: ffi.h: No such file or directory compilation terminated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_func: checking for rb_thread_blocking_region()... -------------------- yes "gcc -o conftest -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/ruby/backward -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -Wl,-R/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; } /* end */ -------------------- have_func: checking for ruby_native_thread_p()... -------------------- yes "gcc -o conftest -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/ruby/backward -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -Wl,-R/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))ruby_native_thread_p; return 0; } /* end */ -------------------- have_func: checking for rb_thread_call_with_gvl()... -------------------- yes "gcc -o conftest -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/ruby/backward -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -Wl,-R/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:5:53: error: ‘rb_thread_call_with_gvl’ undeclared (first use in this function) conftest.c:5:53: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; return 0; } /* end */ "gcc -o conftest -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/ruby/backward -I/home/igor/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -Wl,-R/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -L/home/igor/.rvm/rubies/ruby-1.9.3-p125/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:5:1: warning: implicit declaration of function ‘rb_thread_call_with_gvl’ [-Wimplicit-function-declaration] checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { rb_thread_call_with_gvl(); return 0; } /* end */ --------------------