New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eventmachine install failing on fedora #517

Closed
rabdureh opened this Issue Jun 9, 2014 · 3 comments

Comments

Projects
None yet
4 participants
@rabdureh

rabdureh commented Jun 9, 2014

I'm running a 64-bit fedora version of Linux with Ruby 1.9.3 and having trouble installing eventmachine. Reading around from googling hasn't provided much help as most people were on OS X or Windows.. Here is the entire output of when I run the command "gem install eventmachine -v '1.0.3'" -

Building native extensions.  This could take a while...
ERROR:  Error installing eventmachine:
ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-1.9.3-p547/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
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()... yes
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for epoll_create() in sys/epoll.h... yes
creating Makefile

make  clean

make
compiling binder.cpp
make: g++: Command not found
make: *** [binder.o] Error 127

make failed, exit code 2

Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p547/gems/eventmachine-1.0.3 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p547/extensions/x86_64-linux/1.9.1/eventmachine-1.0.3/gem_make.out

Any advice would be appreciated

@patbaker82

This comment has been minimized.

Show comment
Hide comment
@patbaker82

patbaker82 Jun 15, 2014

is gcc installed?

patbaker82 commented Jun 15, 2014

is gcc installed?

@kobaltz

This comment has been minimized.

Show comment
Hide comment
@kobaltz

kobaltz Sep 20, 2014

Make sure that you have developemtn dependencies installed.

sudo yum install make automake gcc gcc-c++ kernel-devel

However, if you don't care about exact equivalence and are ok with pulling in a lot of packages you can install all the development tools and libraries with the below command.

sudo yum groupinstall "Development Tools" "Development Libraries"

kobaltz commented Sep 20, 2014

Make sure that you have developemtn dependencies installed.

sudo yum install make automake gcc gcc-c++ kernel-devel

However, if you don't care about exact equivalence and are ok with pulling in a lot of packages you can install all the development tools and libraries with the below command.

sudo yum groupinstall "Development Tools" "Development Libraries"

@sodabrew

This comment has been minimized.

Show comment
Hide comment
@sodabrew

sodabrew Jan 4, 2015

Contributor

@rabdureh If installing the development tools has resolved this problem for you please close the issue.

Contributor

sodabrew commented Jan 4, 2015

@rabdureh If installing the development tools has resolved this problem for you please close the issue.

@rabdureh rabdureh closed this Jan 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment