Failed to build the native extension

M

mengjiang Liu

I used ruby-1.8.7-p249-i386-mingw32.7z on the windows 7 x64, and have
installed the devkit. But it failed to build the native extension of
eventmachine with error message as follow:

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

H:/ruby/bin/ruby.exe extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... yes
checking for rb_thread_blocking_region()... no
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()... no
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
checking for main() in -lssl... no
creating Makefile

make
MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
Fatal: 'ruby.h' does not exist - don't know how to make it


Gem files will remain installed in
H:/ruby/lib/ruby/gems/1.8/gems/eventmachine-0.12.10 for inspection.
Results logged to
H:/ruby/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/gem_make.out
 
L

Luis Lavena

I used ruby-1.8.7-p249-i386-mingw32.7z on the windows 7 x64, and have
installed the devkit. But it failed to build the native extension of
eventmachine with error message as follow:

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

H:/ruby/bin/ruby.exe extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... yes
checking for rb_thread_blocking_region()... no
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()... no
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
checking for main() in -lssl... no
creating Makefile

make
MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
Fatal: 'ruby.h' does not exist - don't know how to make it

http://wiki.github.com/oneclick/rubyinstaller/troubleshooting
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,961
Messages
2,570,131
Members
46,689
Latest member
liammiller

Latest Threads

Top