You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am unable to get event machine to install on El Capitan, and for the life of me cannot find a solution. It keeps looking for /usr/bin/g++-4.2, and I don't know why it keeps configuring that, as it does
gem install eventmachine -- --with-cppflags=-I/usr/local/opt/openssl/include
Fetching: eventmachine-1.0.9.1.gem (100%)
Building native extensions with: '--with-cppflags=-I/usr/local/opt/openssl/include'
This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
checking for main() in -lcrypto... yes
checking for main() in -lssl... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for ruby/thread.h... yes
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
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... yes
checking for rb_thread_fd_select()... yes
checking for rb_fdset_t in ruby/intern.h... yes
checking for pipe2() in unistd.h... no
checking for accept4() in sys/socket.h... no
checking for SOCK_CLOEXEC in sys/socket.h... no
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... yes
checking for sys/queue.h... yes
checking for clock_gettime()... no
checking for gethrtime()... no
CXXFLAGS=$(cxxflags)
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling binder.cpp
make: /usr/bin/g++-4.2: No such file or directory
make: *** [binder.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/chris/.rbenv/versions/2.1.8/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.9.1 for inspection.
Results logged to /Users/chris/.rbenv/versions/2.1.8/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-15/2.1.0-static/eventmachine-1.0.9.1/gem_make.out
The text was updated successfully, but these errors were encountered:
Ok, I had ruby in .rbenv/ that was installed from an older OS X that relied upon g++-4.2, deleting my .rbenv install and then re installing ruby and then my gems solved the problem.
Hi, I am unable to get event machine to install on El Capitan, and for the life of me cannot find a solution. It keeps looking for /usr/bin/g++-4.2, and I don't know why it keeps configuring that, as it does
gem install eventmachine -- --with-cppflags=-I/usr/local/opt/openssl/include
Fetching: eventmachine-1.0.9.1.gem (100%)
Building native extensions with: '--with-cppflags=-I/usr/local/opt/openssl/include'
This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
checking for main() in -lcrypto... yes
checking for main() in -lssl... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for ruby/thread.h... yes
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
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... yes
checking for rb_thread_fd_select()... yes
checking for rb_fdset_t in ruby/intern.h... yes
checking for pipe2() in unistd.h... no
checking for accept4() in sys/socket.h... no
checking for SOCK_CLOEXEC in sys/socket.h... no
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... yes
checking for sys/queue.h... yes
checking for clock_gettime()... no
checking for gethrtime()... no
CXXFLAGS=$(cxxflags)
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling binder.cpp
make: /usr/bin/g++-4.2: No such file or directory
make: *** [binder.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/chris/.rbenv/versions/2.1.8/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.9.1 for inspection.
Results logged to /Users/chris/.rbenv/versions/2.1.8/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-15/2.1.0-static/eventmachine-1.0.9.1/gem_make.out
The text was updated successfully, but these errors were encountered: