JuliaWeb / HttpParser.jl

Deprecated! Julia wrapper for joyent/http-parser
MIT License
13 stars 37 forks source link

WARNING: HttpParser had build errors #64

Closed scotthanton closed 5 years ago

scotthanton commented 8 years ago

I am running fedora release 24 32bit.

When running Julia from Atom for the first time, I am receiving the following.

=============================[ ERROR: HttpParser ]==============================

LoadError: Provider BinDeps.BuildProcess failed to satisfy dependency libhttp_parser
while loading /root/.julia/v0.6/HttpParser/deps/build.jl, in expression starting on line 71

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

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

WARNING: HttpParser had build errors.

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

================================================================================
matbesancon commented 6 years ago

HTTP parser also yields errors using the julia:latest (v0.6) docker image while I was trying to get something up and running.

LoadError: could not spawn setenv(`make -j8 -C http-parser-2.7.1 library`,String["PATH=/usr/local/julia/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "JULIA_VERSION=0.6.1", "PWD=/", "SONAME=libhttp_parser.so", "JULIA_PATH=/usr/local/julia", "HOME=/root", "JULIA_GPG=3673DF529D9049477F76B37566E3C7DC03D6E495", "OPENBLAS_MAIN_FREE=1", "HOSTNAME=acd9f1e1e049"]): no such file or directory (ENOENT)
while loading /root/.julia/v0.6/HttpParser/deps/build.jl, in expression starting on line 71
Alexander-Barth commented 6 years ago

I was getting the same issue with the docker images as well. After installing make and gcc inside the docker container, it worked.

apt-get install make gcc