JuliaInterop / ZMQ.jl

Julia interface to ZMQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem installing on Ubuntu 16.04, julia version 0.5.0

hansenms opened this issue · comments

I am trying to install ZMQ in Julia 0.5.0:

julia> Pkg.add("ZMQ")
INFO: Installing ZMQ v0.4.0
INFO: Building ZMQ
======================================================================================[ ERROR: ZMQ ]=======================================================================================

LoadError: Will not force apt-get to rebuild dependency "zmq".
Please make any necessary adjustments manually (This might just be a version upgrade)
while loading /home/hansenms/.julia/v0.5/ZMQ/deps/build.jl, in expression starting on line 38

===========================================================================================================================================================================================

=====================================================================================[ BUILD ERRORS ]======================================================================================

WARNING: ZMQ had build errors.

 - packages with build errors remain installed in /home/hansenms/.julia/v0.5
 - build the package(s) and all dependencies with `Pkg.build("ZMQ")`
 - build a single package by running its `deps/build.jl` script

===========================================================================================================================================================================================
INFO: Package database updated

Any hints would be appreciated. I am on Ubuntu 16.04. libzmq-devel is installed (with apt-get) version (2.2.0+dfsg-7).

Your zmq is too old. Seems possible that the build script or bindeps should provide better fallback or error message.

Hmmm...OK. I'm just noting statement saying that version 2 is not supported. Sorry for not reading more carefully:

apt-get install libzmq3-dev 

Did the trick.