Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Error Building HttpParser on 1.0.0 #89

Closed
mgiugliano opened this issue Aug 12, 2018 · 3 comments
Closed

Error Building HttpParser on 1.0.0 #89

mgiugliano opened this issue Aug 12, 2018 · 3 comments

Comments

@mgiugliano
Copy link

Building HttpParser → ~/.julia/packages/HttpParser/yGK3a/deps/build.log
┌ Error: Error building HttpParser:
│ ERROR: LoadError: UndefVarError: is_windows not defined
│ Stacktrace:
│ [1] top-level scope at none:0
│ [2] include at ./boot.jl:317 [inlined]
│ [3] include_relative(::Module, ::String) at ./loading.jl:1038
│ [4] include(::Module, ::String) at ./sysimg.jl:29
│ [5] include(::String) at ./client.jl:388
│ [6] top-level scope at none:0
│ in expression starting at /Users/XXX/.julia/packages/HttpParser/yGK3a/deps/build.jl:10
└ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068

@piovac
Copy link

piovac commented Aug 17, 2018

The problem is that the build bile is using is_windows() and is_unix() which have been deprecated for a while. I was able to make it work with a quick fix. Edit the build file /Users/XXX/.julia/packages/HttpParser/yGK3a/deps/build.jl and change those two functions with Sys.iswindows() and Sys.isunix()

@Navrique
Copy link

@piovac
Thank you

@JaapHaitsma
Copy link

Would be great if the maintainer of this package could make the changes proposed by @piovac

@aviks aviks closed this as completed Sep 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants