 |
Forums |
Admin Start New Thread
By: Junya Ishihara
Windows へのインストールが失敗します [ reply ] 2007-08-14 15:20
|
こんにちは。
はじめまして、石原と申します。
shooting_star を Windows 環境にインストールしようとしたところ、下記のエラーメッセージが出て失敗します。
>gem install shooting_star
Bulk updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install shooting_star
checking for sys/epoll.h... no
checking for sys/event.h... no
epoll or kqueue required.
*** 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
--srcdir=.
--curdir
--ruby=C:/ruby/bin/ruby
Gem files will remain installed in C:/ruby/lib/ruby/gems/1.8/gems/shooting_star-
3.2.1 for inspection.
Results logged to C:/ruby/lib/ruby/gems/1.8/gems/shooting_star-3.2.1/ext/gem_mak
e.out
mkmf.log の内容は以下の通りです。
have_header: checking for sys/epoll.h... -------------------- no
"cl -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 conftest.c -P"
checked program was:
/* begin */
1: #include <sys/epoll.h>
/* end */
--------------------
have_header: checking for sys/event.h... -------------------- no
"cl -I. -IC:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD -Zi -O2b2xg- -G6 conftest.c -P"
checked program was:
/* begin */
1: #include <sys/event.h>
/* end */
--------------------
gem および ruby のバージョンは下記の通り。
>gem -v
0.9.4
>ruby -v
ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]
何が原因なのか、上記の情報からわかりましたら教えていただきたくお願いいたします。
よろしくお願いいたします。
|
|
 |