JuliaWeb / Requests.jl

[DEPRECATED in favor of https://github.com/JuliaWeb/HTTP.jl] HTTP for Julians
Other
119 stars 47 forks source link

Wont build in Julia 0.3.11 #69

Closed josep2 closed 9 years ago

josep2 commented 9 years ago

julia> Pkg.build("Requests") INFO: Building HttpParser

julia> using Requests ERROR: precompile not defined in include at /Applications/Julia-0.3.11.app/Contents/Resources/julia/lib/julia/sys.dylib in include_from_node1 at /Applications/Julia-0.3.11.app/Contents/Resources/julia/lib/julia/sys.dylib in reload_path at loading.jl:152 in _require at loading.jl:67 in require at loading.jl:51 while loading /Users/jowanza/.julia/v0.3/Requests/src/Requests.jl, in expression starting on line 1

malmaud commented 9 years ago

I'm having some trouble replicating. With a fresh install of Julia 0.3.11, I can do

Pkg.add("Requests")
using Requests

without issue. Can you tell me what the output of Pkg.status() is on your system?

josep2 commented 9 years ago

Thanks r the quick response:

julia> Pkg.status() 14 required packages:

malmaud commented 9 years ago

The issue is that you have the 'master' branch checked out for Requests, which isn't compatible with Julia 0.3. Call Pkg.free("Requests")

malmaud commented 9 years ago

Please reopen if you're still having trouble.