Hi,
I am trying to install evenmachine but get this error. I have
OpenSSL. This is Windows 7. What am I missing ?
Thanks,
Mohan
D:\Ruby>gem install eventmachine
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
D:/Ruby200-x64/bin/ruby.exe extconf.rb
checking for main() in -lssl... no
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... 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()... yes
checking for rb_time_new()... yes
checking for windows.h... yes
checking for winsock.h... yes
checking for main() in -lkernel32... yes
checking for main() in -lrpcrt4... yes
checking for main() in -lgdi32... yes
creating Makefile
make "DESTDIR="
generating rubyeventmachine-x64-mingw32.def
compiling binder.cpp
x86_64-w64-mingw32-g++.exe: error: unrecognized command line option
'-EHs'
x86_64-w64-mingw32-g++.exe: error: unrecognized command line option
'-GR'
make: *** [binder.o] Error 1
Gem files will remain installed in
D:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/event
machine-1.0.0 for inspection.
Results logged to
D:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.0/ext
/gem_make.out
You are missing a linux kernel. Sorry :)... I'm on windows too, and as far as I can tell, you just can't. Event machine relies on linux kernel stuff that just doesn't exist. Kind of like trying to build win32ole on a linux box. Just isn't going to work.
Hi,
I am trying to install evenmachine but get this error. I have OpenSSL. This is Windows 7. What am I missing ?
Thanks,
Mohan
D:\Ruby>gem install eventmachine
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
D:/Ruby200-x64/bin/ruby.exe extconf.rb checking for main() in -lssl... no 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... 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()... yes checking for rb_time_new()... yes checking for windows.h... yes checking for winsock.h... yes checking for main() in -lkernel32... yes checking for main() in -lrpcrt4... yes checking for main() in -lgdi32... yes creating Makefile
make "DESTDIR="
generating rubyeventmachine-x64-mingw32.def compiling binder.cpp
x86_64-w64-mingw32-g++.exe: error: unrecognized command line option '-EHs'
x86_64-w64-mingw32-g++.exe: error: unrecognized command line option '-GR'
make: *** [binder.o] Error 1
Gem files will remain installed in
D:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/event
machine-1.0.0 for inspection.
Results logged to
D:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.0/ext
/gem_make.out
Can you build it on a recent Windows box? I haven't heard about OLE in
ages - it's probably still there as part of the heritage. I wonder how it
will work on Win 8...
Cheers
robert
···
On Mon, Aug 19, 2013 at 3:37 PM, Nation, Carey <Carey.Nation@turner.com>wrote:
You are missing a linux kernel. Sorry :)... I'm on windows too, and as
far as I can tell, you just can't. Event machine relies on linux kernel
stuff that just doesn't exist. Kind of like trying to build win32ole on a
linux box. Just isn't going to work.
Dunno, is my win7 box recent enough? Ole is still there, they just call it com and don't talk about it. You can't build it because windows != linux. Win3 != linux, win8 != linux.
···
From: ruby-talk [mailto:ruby-talk-bounces@ruby-lang.org] On Behalf Of Robert Klemme
Sent: Tuesday, August 20, 2013 11:36 AM
To: Ruby users
Subject: Re: install evenmachine - Windows 7
On Mon, Aug 19, 2013 at 3:37 PM, Nation, Carey <Carey.Nation@turner.com<mailto:Carey.Nation@turner.com>> wrote:
You are missing a linux kernel. Sorry :)... I'm on windows too, and as far as I can tell, you just can't. Event machine relies on linux kernel stuff that just doesn't exist. Kind of like trying to build win32ole on a linux box. Just isn't going to work.
Can you build it on a recent Windows box? I haven't heard about OLE in ages - it's probably still there as part of the heritage. I wonder how it will work on Win 8...