Skip to content

Instantly share code, notes, and snippets.

@syntaxritual
Created February 24, 2010 16:49
Show Gist options
  • Save syntaxritual/313602 to your computer and use it in GitHub Desktop.
Save syntaxritual/313602 to your computer and use it in GitHub Desktop.
# gem install eventmachine
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
/opt/rubyenterprise/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... no
checking for rb_thread_check_ints()... no
checking for rb_time_new()... no
checking for sys/event.h... no
checking for main() in -lnsl... no
could not find library: nsl
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/opt/rubyenterprise/bin/ruby
--with-nsllib
--without-nsllib
Gem files will remain installed in /opt/rubyenterprise/lib/ruby/gems/1.8/gems/eventmachine-0.12.10 for inspection.
Results logged to /opt/rubyenterprise/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/gem_make.out
have_var: checking for rb_trap_immediate in ruby.h,rubysig.h... -------------------- no
"gcc -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 -c conftest.c"
checked program was:
/* begin */
1: #include <ruby.h>
2: #include <rubysig.h>
3:
4: /*top*/
5: int main() { return 0; }
6: int t() { const volatile void *volatile p; p = (void *)&rb_trap_immediate; return 0; }
/* end */
--------------------
have_func: checking for rb_thread_blocking_region()... -------------------- no
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
/* end */
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { rb_thread_blocking_region(); return 0; }
/* end */
--------------------
have_func: checking for inotify_init() in sys/inotify.h... -------------------- no
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: #include <sys/inotify.h>
2:
3: /*top*/
4: int main() { return 0; }
5: int t() { void ((*volatile p)()); p = (void ((*)()))inotify_init; return 0; }
/* end */
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: #include <sys/inotify.h>
2:
3: /*top*/
4: int main() { return 0; }
5: int t() { inotify_init(); return 0; }
/* end */
--------------------
have_macro: checking for __NR_inotify_init in sys/syscall.h... -------------------- no
"gcc -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 -c conftest.c"
checked program was:
/* begin */
1: #include <sys/syscall.h>
2: /*top*/
3: #ifndef __NR_inotify_init
4: # error
5: >>>>>> __NR_inotify_init undefined <<<<<<
6: #endif
/* end */
--------------------
have_func: checking for writev() in sys/uio.h... -------------------- no
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: #include <sys/uio.h>
2:
3: /*top*/
4: int main() { return 0; }
5: int t() { void ((*volatile p)()); p = (void ((*)()))writev; return 0; }
/* end */
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: #include <sys/uio.h>
2:
3: /*top*/
4: int main() { return 0; }
5: int t() { writev(); return 0; }
/* end */
--------------------
have_func: checking for rb_thread_check_ints()... -------------------- no
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_check_ints; return 0; }
/* end */
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { rb_thread_check_ints(); return 0; }
/* end */
--------------------
have_func: checking for rb_time_new()... -------------------- no
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))rb_time_new; return 0; }
/* end */
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { rb_time_new(); return 0; }
/* end */
--------------------
have_header: checking for sys/event.h... -------------------- no
"gcc -E -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <sys/event.h>
/* end */
--------------------
have_library: checking for main() in -lnsl... -------------------- no
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -lnsl -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */
"gcc -o conftest -I. -I/opt/rubyenterprise/lib/ruby/1.8/sparc-solaris2.10 -I. -g -O2 conftest.c -L'.' -L'/opt/rubyenterprise/lib' -Wl,-R'/opt/rubyenterprise/lib' -L. -lruby-static -lnsl -ldl -lcrypt -lm -lc"
sh: gcc: not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment