ZMQ.jl icon indicating copy to clipboard operation
ZMQ.jl copied to clipboard

Build error

Open SimonDanisch opened this issue 8 years ago • 2 comments
trafficstars

I think these are more BinDeps/Homebrew issues, but lets start here:

(https://github.com/JuliaPackaging/Homebrew.jl/issues/174)

Pkg.build("ZMQ")
INFO: Building Homebrew

==================================================[ ERROR: Homebrew ]===================================================

LoadError: could not spawn `/Users/atitus/.julia/v0.5/Homebrew/deps/usr/bin/brew update`: no such file or directory (ENOENT)

while loading /Users/atitus/.julia/v0.5/Homebrew/deps/build.jl, in expression starting on line 2
INFO: Building ZMQ

INFO: Attempting to Create directory /Users/atitus/.julia/v0.5/ZMQ/deps/downloads

INFO: Directory /Users/atitus/.julia/v0.5/ZMQ/deps/downloads already created

INFO: Downloading file https://archive.org/download/zeromq_3.2.4/zeromq-3.2.4.tar.gz

usage: curl [file] [URL]

            [file] [HTTP]     fetches a file from an 'http' URL

            [file] [HTTPS]    fetches a file from an 'https' URL

            [file] [FTP]      fetches a file from a 'ftp' URL

=====================================================[ ERROR: ZMQ ]=====================================================

LoadError: File AbstractString["/Users/atitus/.julia/v0.5/ZMQ/deps/downloads/zeromq-3.2.4.tar.gz"] was not created successfully (Tried to run BinDeps.SynchronousStepCollection(Any[`curl -f -o /Users/atitus/.julia/v0.5/ZMQ/deps/downloads/zeromq-3.2.4.tar.gz -L https://archive.org/download/zeromq_3.2.4/zeromq-3.2.4.tar.gz`],"","") )

while loading /Users/atitus/.julia/v0.5/ZMQ/deps/build.jl, in expression starting on line 35

SimonDanisch avatar Feb 11 '17 16:02 SimonDanisch

what bizarre curl version can't do curl -f -o /Users/atitus/.julia/v0.5/ZMQ/deps/downloads/zeromq-3.2.4.tar.gz -L https://archive.org/download/zeromq_3.2.4/zeromq-3.2.4.tar.gz ?

tkelman avatar Feb 11 '17 16:02 tkelman

Okay seems like it was solved by getting rid of that curl version. Can we do something to give a better error message? Where would the check of the curl version need to go? BinDeps?

SimonDanisch avatar Feb 11 '17 18:02 SimonDanisch