I managed to install rbczmq to ruby 2.2.3p173 (x64-mingw32) on Windows8.1 64bit, but some tests in test/ fails for some reasons including SegmentationFault.
IRuby still not work maybe because of rbczmq. :cry:
How to install rbczmq to Windows
Ran gem install rbczmq and failed.
Modify extconf.rb and make it ignore GNU_CHAIN and -EHs option.
Ran gem build rbczmq.gemspec and tried to install *.gem. Failed.
Found that installing failed when building libzmq and czmq.
Compiled libzmq and czmq using etc/zeromq/builds/msvc/msvc11.sln and ext/czmq/builds/msvc/czmq11.sln respectively. (using Visual Studio 2012)
Move libzmq.dll and czmq.dll to ext/ manually.
Deleted code that compile libzmq, czmq and add code to copy two dll files into ext/rbczmq/dst/lib.
Tried to install. failed.
Copy two dll files into C:\dll and add the path to PATH.
I managed to install rbczmq to ruby 2.2.3p173 (x64-mingw32) on Windows8.1 64bit, but some tests in
test/
fails for some reasons including SegmentationFault.IRuby still not work maybe because of rbczmq. :cry:
How to install rbczmq to Windows
gem install rbczmq
and failed.GNU_CHAIN
and-EHs
option.gem build rbczmq.gemspec
and tried to install*.gem
. Failed.etc/zeromq/builds/msvc/msvc11.sln
andext/czmq/builds/msvc/czmq11.sln
respectively. (using Visual Studio 2012)gem install rbczmq-1.7.9.gem
. succeeded.How tests failed
https://gist.github.com/domitry/889ad24aee07b398cc1d
At least
require 'rbczmq'
works without any exceptions, so there may be no problem loading shared library.