Eventmachine install error

Discussion in 'Ruby' started by Ris Ris, Nov 19, 2010.

  1. Ris Ris

    Ris Ris Guest

    Hi!
    I get error, when i try to install eventmachine.

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

    C:/Ruby191/bin/ruby.exe extconf.rb
    checking for rb_trap_immediate in ruby.h,rubysig.h... *** 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=C:/Ruby191/bin/ruby
    C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:364:in `try_do': The complier failed
    to generate an executable file. (RuntimeError)
    You have to install development tools first.
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:427:in `try_compile'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:545:in `try_var'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:793:in `block in
    have_var'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:670:in `block in
    checking_for'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:276:in `block (2 levels)
    in postpone'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:250:in `open'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:276:in `block in
    postpone'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:250:in `open'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:272:in `postpone'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:669:in `checking_for'
    from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:792:in `have_var'
    from extconf.rb:16:in `<main>'


    Gem files will remain installed in
    C:/Ruby191/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10 for inspection.
    Results logged to
    C:/Ruby191/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/ext/gem_make.out

    Help me please!

    --
    Posted via http://www.ruby-forum.com/.
    Ris Ris, Nov 19, 2010
    #1
    1. Advertising

  2. Ris Ris

    Ris Ris Guest

    Ris Ris, Nov 19, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Doug Bromley

    EventMachine - Anything Similar

    Doug Bromley, Aug 2, 2006, in forum: Ruby
    Replies:
    1
    Views:
    98
    Francis Cianfrocca
    Aug 2, 2006
  2. hemant

    problem with eventmachine

    hemant, Sep 19, 2006, in forum: Ruby
    Replies:
    4
    Views:
    103
    Francis Cianfrocca
    Sep 19, 2006
  3. Mark Haliday

    Eventmachine - pure Ruby port

    Mark Haliday, Jan 17, 2007, in forum: Ruby
    Replies:
    2
    Views:
    112
  4. Junkone

    cannot install eventmachine.

    Junkone, Feb 16, 2008, in forum: Ruby
    Replies:
    2
    Views:
    271
    Luis Lavena
    Feb 16, 2008
  5. Ilias Lazaridis
    Replies:
    22
    Views:
    540
    Christopher Dicely
    May 24, 2011
Loading...

Share This Page