rbczmq
rbczmq copied to clipboard
Test fails on Windows
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 rbczmqand failed. - Modify extconf.rb and make it ignore
GNU_CHAINand-EHsoption. - Ran
gem build rbczmq.gemspecand tried to install*.gem. Failed. - Found that installing failed when building libzmq and czmq.
- Compiled libzmq and czmq using
etc/zeromq/builds/msvc/msvc11.slnandext/czmq/builds/msvc/czmq11.slnrespectively. (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.
-
gem install rbczmq-1.7.9.gem. succeeded.
How tests failed
https://gist.github.com/domitry/889ad24aee07b398cc1d
- Windows10.VS2012.log
- Ubuntu14.10.log
At least require 'rbczmq' works without any exceptions, so there may be no problem loading shared library.