# WARNING: HttpParser had build errors. Julia 0.6

**URL:** <https://discourse.julialang.org/t/warning-httpparser-had-build-errors-julia-0-6/11658>\
**Category:** New to Julia\
**Created:** [June 13, 2018, 5:51pm UTC](https://discourse.julialang.org/t/warning-httpparser-had-build-errors-julia-0-6/11658 "2018-06-13T17:51:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Padget](https://avatars.discourse-cdn.com/v4/letter/p/85e7bf/32.png) [@Padget](https://discourse.julialang.org/u/Padget)\
**Post date:** [June 13, 2018, 5:51pm UTC](https://discourse.julialang.org/t/warning-httpparser-had-build-errors-julia-0-6/11658/1 "2018-06-13T17:51:04Z")

</div>

Keep getting this error after a complete reinstall on Ubuntu 18.4:  
trying Pkg.build(“HttpParser”) results in:

INFO: Building HttpParser  
Info: Attempting to create directory /home/adrian/.julia/v0.6/HttpParser/deps/downloads  
Info: Directory /home/adrian/.julia/v0.6/HttpParser/deps/downloads already exists  
Info: Attempting to create directory /home/adrian/.julia/v0.6/HttpParser/deps/downloads  
Info: Directory /home/adrian/.julia/v0.6/HttpParser/deps/downloads already exists  
Info: Downloading file [https://github.com/nodejs/http-parser/archive/v2.7.1.zip](https://github.com/nodejs/http-parser/archive/v2.7.1.zip)  
Info: Done downloading file [https://github.com/nodejs/http-parser/archive/v2.7.1.zip](https://github.com/nodejs/http-parser/archive/v2.7.1.zip)  
Info: Attempting to create directory /home/adrian/.julia/v0.6/HttpParser/deps  
Info: Directory /home/adrian/.julia/v0.6/HttpParser/deps already exists  
Info: Path /home/adrian/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1 already exists  
Info: Attempting to create directory /home/adrian/.julia/v0.6/HttpParser/deps/usr/lib  
Info: Directory /home/adrian/.julia/v0.6/HttpParser/deps/usr/lib already exists  
Info: Changing directory to /home/adrian/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1  
Info: Changing directory to /home/adrian/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1  
Info: Changing directory to /home/adrian/.julia/v0.6/HttpParser/deps/src  
Info: Attempting to create directory /home/adrian/.julia/v0.6/HttpParser/deps/usr/lib  
Info: Directory /home/adrian/.julia/v0.6/HttpParser/deps/usr/lib already exists  
Info: Changing directory to /home/adrian/.julia/v0.6/HttpParser/deps/src  
=============================[ERROR: HttpParser]==============================

LoadError: could not spawn setenv(`make -j8 -C http-parser-2.7.1 library`,String[“PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin”, “TEXTDOMAIN=im-config”, “DEFAULTS\_PATH=/usr/share/gconf/ubuntu.default.path”, “QT\_ACCESSIBILITY=1”, “DBUS\_SESSION\_BUS\_ADDRESS=unix:path=/run/user/1000/bus”, “NODE\_ENV=production”, “XDG\_SESSION\_DESKTOP=ubuntu”, “SSH\_AGENT\_PID=1800”, “XDG\_SESSION\_TYPE=x11”, “JULIA\_EDITOR=atom -a”, “LC\_TIME=nb\_NO.UTF-8”, “USER=adrian”, “LESSCLOSE=/usr/bin/lesspipe %s %s”, “QT\_IM\_MODULE=xim”, “XDG\_CONFIG\_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg”, “LC\_NUMERIC=nb\_NO.UTF-8”, “LC\_MEASUREMENT=nb\_NO.UTF-8”, “GNOME\_SHELL\_SESSION\_MODE=ubuntu”, “USERNAME=adrian”, “GDMSESSION=ubuntu”, “LC\_TELEPHONE=nb\_NO.UTF-8”, “LESSOPEN=| /usr/bin/lesspipe %s”, “CLUTTER\_IM\_MODULE=xim”, “XDG\_DATA\_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop”, “SHELL=/bin/bash”, “GJS\_DEBUG\_OUTPUT=stderr”, “XDG\_SEAT=seat0”, “XAUTHORITY=/run/user/1000/gdm/Xauthority”, “XDG\_MENU\_PREFIX=gnome-”, “GOOGLE\_API\_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q”, “GTK\_MODULES=gail:atk-bridge”, “GTK\_IM\_MODULE=ibus”, “SESSION\_MANAGER=local/Tardis:@/tmp/.ICE-unix/1706,unix/Tardis:/tmp/.ICE-unix/1706”, “XMODIFIERS=@im=ibus”, “HOME=/home/adrian”, “TERM=xterm-256color”, “COLORTERM=truecolor”, “VTE\_VERSION=5201”, “NODE\_PATH=/usr/share/atom/resources/app.asar/exports”, “IM\_CONFIG\_PHASE=2”, “XDG\_CURRENT\_DESKTOP=ubuntu:GNOME”, “LANG=en\_US.UTF-8”, “SHLVL=1”, “LOGNAME=adrian”, “LC\_MONETARY=nb\_NO.UTF-8”, “GNOME\_DESKTOP\_SESSION\_ID=this-is-deprecated”, “XDG\_RUNTIME\_DIR=/run/user/1000”, “DESKTOP\_SESSION=ubuntu”, “SSH\_AUTH\_SOCK=/run/user/1000/keyring/ssh”, “LC\_ADDRESS=nb\_NO.UTF-8”, “LC\_PAPER=nb\_NO.UTF-8”, “\_=/usr/bin/env”, “GPG\_AGENT\_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1”, “GNOME\_TERMINAL\_SCREEN=/org/gnome/Terminal/screen/1f778899\_d26e\_46ad\_a535\_335abf8eebd1”, “JULIA\_NUM\_THREADS=2”, “GNOME\_TERMINAL\_SERVICE=:1.108”, “PWD=/home/adrian”, “DISPLAY=:0”, “GJS\_DEBUG\_TOPICS=JS ERROR;JS LOG”, “SONAME=libhttp\_parser.so”, “XDG\_VTNR=2”, “MANDATORY\_PATH=/usr/share/gconf/ubuntu.mandatory.path”, “XDG\_SESSION\_ID=2”, “LC\_NAME=nb\_NO.UTF-8”, “TEXTDOMAINDIR=/usr/share/locale/”, “LC\_IDENTIFICATION=nb\_NO.UTF-8”, “ATOM\_HOME=/home/adrian/.atom”, “QT4\_IM\_MODULE=xim”, “WINDOWPATH=2”, “LS\_COLORS=”, “OPENBLAS\_MAIN\_FREE=1”]): no such file or directory (ENOENT)  
while loading /home/adrian/.julia/v0.6/HttpParser/deps/build.jl, in expression starting on line 80

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

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

WARNING: HttpParser had build errors.

- packages with build errors remain installed in /home/adrian/.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

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

---

<div class="post-metadata">

**Author:** ![Padget](https://avatars.discourse-cdn.com/v4/letter/p/85e7bf/32.png) [@Padget](https://discourse.julialang.org/u/Padget)\
**Post date:** [June 13, 2018, 7:10pm UTC](https://discourse.julialang.org/t/warning-httpparser-had-build-errors-julia-0-6/11658/2 "2018-06-13T19:10:26Z")

</div>

```julia
sudo apt-get install make gcc

```

Fixed the problem
