Craig Yesberg
2007-Jul-14 02:37 UTC
[Eventmachine-talk] Issues installing Eventmachine with Windows
Hello,
I''ve been trying to install Eventmachine on my Windows development
machine but with no luck. I''ve got Visual Studio
2005 installed so I''m not missing any header files, but that''s
what
seems to be tripping it up.
Here''s the command I''ve been trying to use:
gem install eventmachine -- --with-opt-include="C:/Program Files/
Microsoft Visual Studio 8/VC/PlatformSDK/Include"
--with-opt-lib="C:/Program Files/Microsoft Visual Studio 8/VC/
PlatformSDK/Lib"
This is the result I get:
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 eventmachine -- --with-opt-include=C:/Program
Files/Microsoft Visual Studio 8/VC/PlatformSDK/Include
--with-opt-lib=C:/Program Files/Microsoft Visual Studio 8/VC/
PlatformSDK/Lib
checking for windows.h... no
*** 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=${opt-dir}/include
--with-opt-lib=${opt-dir}/lib
--with-make-prog
--srcdir=.
--curdir
--ruby=C:/Program Files/Ruby/bin/ruby
Gem files will remain installed in C:/Program Files/Ruby/lib/ruby/
gems/1.8/gems/eventmachine-0.8.0 for inspection.
Results logged to C:/Program Files/Ruby/lib/ruby/gems/1.8/gems/
eventmachine-0.8.0/ext/gem_make.out
I''m stuck on what to do next, I know windows.h is in the PlatformSDK
folder. Has anyone else experienced this problem
or am I missing something?
Thanks
Craig.
Francis Cianfrocca
2007-Jul-15 07:39 UTC
[Eventmachine-talk] Issues installing Eventmachine with Windows
On 7/14/07, Craig Yesberg <yezzy at optusnet.com.au> wrote:> > Hello, > I''ve been trying to install Eventmachine on my Windows development > machine but with no luck. I''ve got Visual Studio > 2005 installed so I''m not missing any header files, but that''s what > seems to be tripping it up.There''s a whole raft of known issues with compiling Ruby extensions with modern versions of the Microsoft compilers. (Search the lists and look especially for Austin Ziegler''s posts on the subject. Don''t use VC 2005. Use VC6 if you have it. If you don''t, then use the precompiled EM gem for Win32. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20070715/391aeaab/attachment.html