Created
December 26, 2014 20:39
-
-
Save jc00ke/d82a78e90614037c6462 to your computer and use it in GitHub Desktop.
EM doesn't compile on 2.2.0p0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem+ eventmachine -v '1.0.3' | |
Building native extensions. This could take a while... | |
ERROR: Error installing eventmachine: | |
ERROR: Failed to build gem native extension. | |
/home/jesse/.rubies/ruby-2.2.0/bin/ruby -r ./siteconf20141226-13786-zj9j4y.rb 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... yes | |
checking for writev() in sys/uio.h... yes | |
checking for rb_wait_for_single_fd()... yes | |
checking for rb_enable_interrupt()... no | |
checking for rb_time_new()... yes | |
checking for sys/event.h... no | |
checking for epoll_create() in sys/epoll.h... yes | |
creating Makefile | |
make "DESTDIR=" clean | |
make "DESTDIR=" | |
compiling binder.cpp | |
compiling pipe.cpp | |
compiling rubymain.cpp | |
compiling em.cpp | |
em.cpp: In member function ‘void EventMachine_t::_RunEpollOnce()’: | |
em.cpp:574:37: error: ‘rb_thread_select’ was not declared in this scope | |
EmSelect (0, NULL, NULL, NULL, &tv); | |
^ | |
em.cpp: In member function ‘int SelectData_t::_Select()’: | |
em.cpp:827:67: error: ‘rb_thread_select’ was not declared in this scope | |
return EmSelect (maxsocket+1, &fdreads, &fdwrites, &fderrors, &tv); | |
^ | |
em.cpp: In member function ‘void EventMachine_t::_RunSelectOnce()’: | |
em.cpp:946:40: error: ‘rb_thread_select’ was not declared in this scope | |
EmSelect (0, NULL, NULL, NULL, &tv); | |
^ | |
Makefile:229: recipe for target 'em.o' failed | |
make: *** [em.o] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /home/jesse/.gem/ruby/2.2.0/gems/eventmachine-1.0.3 for inspection. | |
Results logged to /home/jesse/.gem/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/eventmachine-1.0.3/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment