Closed cgoldammer closed 9 years ago
That is really weird! What happens with the Pkg.clone
version?
Using a clean REPL, I get
julia> Pkg.clone("https://github.com/JuliaWeb/HttpParser.jl")
INFO: Cloning HttpParser from https://github.com/JuliaWeb/HttpParser.jl
INFO: Computing changes...
INFO: No packages to install, update or remove
julia> using HttpParser
ERROR: could not open file /Users/cg/.julia/v0.3/HttpParser/src/../deps/deps.jl
in include at /Applications/Julia-0.3.6.app/Contents/Resources/julia/lib/julia/sys.dylib
Can you run Pkg.build("HttpParser")
?
That worked! Is the overall behavior still unexpected?
Oh yeah, definitely odd. I got no idea what thats about, would be interesting to see if it happens again. You'd need to nuke ~/.julia
to test that though...
It looks like so far, it's just me. How about we wait if someone else has this problem? If so, I'm happy to test further.
That include should really be guarded a la https://github.com/JuliaLang/ZMQ.jl/blob/732c7940f6c175b59ce8299c4a9975f7caa17e3c/src/ZMQ.jl#L6-L10 for a better error
May be some corrupt cloning of metadata or something? Did Pkg.init(); Pkg.update()
go through properly?
@tkelman: Thanks for the Yes, running Pkg.init(); Pkg.update()
ran without problems. But I still can't add HttpParser (unless I follow the instructions by @IainNZ).
Does ls -al ~/.julia/v0.3/METADATA
show any sign of HttpParser? Was this package ever renamed from some different casing?
sorry, that should be v0.3
, missed which version you were on
There's a good chance I'm just doing something wrong here and this error has nothing to do with HttpParser. However, other packages install fine, so I just wanted to flag it. I also had no luck when cloning the repository through
Pkg.clone("https://github.com/JuliaWeb/HttpParser.jl")
.