Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fails on Windows #52

Open
domitry opened this issue Nov 18, 2015 · 0 comments
Open

Test fails on Windows #52

domitry opened this issue Nov 18, 2015 · 0 comments

Comments

@domitry
Copy link

domitry commented Nov 18, 2015

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. 😢

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.
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant