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

Switch to LibZMQ3 (fix broken install on OS X). #22

Closed
wants to merge 1 commit into from

Conversation

mmcclimon
Copy link
Contributor

LibZMQ3 won't build on OS X---or won't, at least, with the latest version of
libzmq, installed with homebrew (brew install zmq). Switching to LibZMQ3
fixes this, but it might break other things.

I was trying to install exobrain to work on adding TravisCI integration (issue #21), but got stuck installing the dependencies (you weren't kidding about having a lot of them!). This doesn't break anything on my system, but it might on yours, depending on your libzmq version. Feel free to ignore if it does!

LibZMQ3 won't build on OS X---or won't, at least, with the latest version of
libzmq, installed with homebrew (`brew install zmq`). Switching to LibZMQ3
fixes this, but it might break other things.
@pjf
Copy link
Owner

pjf commented Feb 10, 2014

To be honest, I want to upgrade to zmq3, but when I first started developing exobrain (back before it was even called that), zmq2 was the only version available on the machine I was using. So I'm really happy to be upgrading. :)

@pjf
Copy link
Owner

pjf commented Feb 10, 2014

A few initial tests looks like the move to ZMQ3 should be an easy change, so I hope to integrate these later today. (Would you believe I'm doing company tax now? Least fun ever!)

Word on the street is the ZMQx::Class will probably end up being the way to go eventually, as it should support both ZMQ3 and the freshly released ZMQ4. But I'll pop that into a separate issue. :)

@pjf pjf mentioned this pull request Feb 10, 2014
3 tasks
@pjf
Copy link
Owner

pjf commented Feb 10, 2014

Ah, the joys of many systems. My exobrain box on the cloud is running ubuntu 12.10, which doesn't have zmq3 available. It's due for an upgrade, but this is slowing my testing a tad.

Out of curiosity, is zmq2 completely unavailable via homebrew? It looks like this installer might do it. (brew install zeromq22?)

~ Paul

@pjf
Copy link
Owner

pjf commented Feb 10, 2014

Aha! ZMQ.pm looks like it will use either ZMQ2 or ZMQ3, which is exactly what we want. So stand-by for me switching to that. :)

@mmcclimon
Copy link
Contributor Author

As it turns out, zmq2 is available from homebrew...I didn't look very hard! Travis doesn't have zmq2, however, but ZMQ.pm looks like it will work nicely!

@pjf
Copy link
Owner

pjf commented Feb 10, 2014

Travis will be fun, because eventually we'll want to test against at least ZMQ2 and ZMQ3. In any case, I'll open a new ticket to make sure we have ZMQ cross-compatibility. (I'm working on that right now...)

@pjf
Copy link
Owner

pjf commented Feb 10, 2014

With 6c3edd7 we should be able to support both ZMQ2 and ZMQ3. I've only tested under ZMQ2 for now, but I have another machine with ZMQ3 so it should be possible to do both. :)

Closing this PR since we now have a superset of the functionality in master. :)

@pjf pjf closed this Feb 10, 2014
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

Successfully merging this pull request may close these issues.

2 participants