On Sun, Feb 24, 2013 at 10:20 PM, Steffen Roller
<
steffen...@gmail.com> wrote:
> Was somebody able to install Thin/Eventmachine using 64-bit versions of
> DEVKIT and Ruby?
>
> I got the following error message(s):
>
> make
> 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
>
>
Looks to me eventmachine is not detecting properly the platform or
Ruby and it thinks is Visual C.
>
> under the 32-bit version the error is slightly different:
>
> C:\temp>gem install eventmachine --platform=ruby
> 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.
>
> C:/ruby/bin/ruby.exe extconf.rb
> checking for main() in -lssl... *** extconf.rb failed ***
>
The second error is because eventmachine requires OpenSSL.
Search the group to find knapsack packages to download and use as
headers/libs for compilation.
> any ideas?
>
I'm not sure if eventmachine compiles cleanly on Windows "natively",
it used to require cross-compilation.
I suggest report this issue to Eventmachine developers:
https://github.com/eventmachine/eventmachine/issues
and provide them:
ruby -v
gem -v
gcc --v
ruby -rrbconfig -e "p RbConfig::CONFIG.values_at('host_os', 'target_os')"
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry