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

Problems with Juno installation in atom linked to HttpParser #52

Closed
davidzentlermunro opened this issue Jun 3, 2016 · 4 comments
Closed

Comments

@davidzentlermunro
Copy link

I've been trying to install juno within atom, and met persistent problems with HttpParser. I tried the fixes suggested on the juno discussion page and was advised here. Here are my error scripts (I am using Julia v0.4.5, Atom v1.7.4 and OSX 10.11.3):
`julia> Pkg.build("Atom")
INFO: Building HttpParser
INFO: Changing Directory to /Users/davidzentlermunro/.julia/v0.4/HttpParser
INFO: Changing Directory to /Users/davidzentlermunro/.julia/v0.4/HttpParser
INFO: Changing Directory to /Users/davidzentlermunro/.julia/v0.4/HttpParser/deps/src
INFO: Attempting to Create directory /Users/davidzentlermunro/.julia/v0.4/HttpParser/deps/usr/lib
INFO: Directory /Users/davidzentlermunro/.julia/v0.4/HttpParser/deps/usr/lib already created
INFO: Changing Directory to /Users/davidzentlermunro/.julia/v0.4/HttpParser/deps/src
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
=============================[ ERROR: HttpParser ]==============================

LoadError: failed process: Process(setenv(make -j8 -C http-parser library,Union{ASCIIString,UTF8String}["XPC_FLAGS=0x0","PATH=/Applications/Julia-0.4.5.app/Contents/Resources/julia/bin:/Applications/Julia-0.4.5.app/Contents/Resources/julia/libexec/git-core:/Applications/Julia-0.4.5.app/Contents/Resources/julia/bin:/Applications/Julia-0.4.5.app/Contents/Resources/julia/libexec/git-core:/Users/davidzentlermunro/anaconda/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Library/TeX/texbin","PWD=/Users/davidzentlermunro","NODE_PATH=/Applications/Atom.app/Contents/Resources/app.asar/exports","XPC_SERVICE_NAME=0","TERM_PROGRAM=Apple_Terminal","GIT_EXEC_PATH=/Applications/Julia-0.4.5.app/Contents/Resources/julia/libexec/git-core","SHELL=/bin/bash","__CF_USER_TEXT_ENCODING=0x1F5:0:0","NODE_ENV=production","TMPDIR=/var/folders/8q/sjb3qrjd71bc669szqbty7gm0000gn/T/","TK_LIBRARY=/System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts","GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q","FONTCONFIG_PATH=/Applications/Julia-0.4.5.app/Contents/Resources/julia/etc/fonts","LANG=en_GB.UTF-8","SHLVL=3","LOGNAME=davidzentlermunro","TERM_SESSION_ID=36326E4A-E59F-42C2-AFB5-4C8179537108","SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.zTWbDVHuJ1/Listeners","ATOM_HOME=/Users/davidzentlermunro/.atom","_=/Applications/Julia-0.4.5.app/Contents/Resources/julia/bin/julia","GIT_TEMPLATE_DIR=/Applications/Julia-0.4.5.app/Contents/Resources/julia/share/git-core","Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.E72VpqG5VI/Render","USER=davidzentlermunro","TERM=xterm-256color","HOME=/Users/davidzentlermunro","TERM_PROGRAM_VERSION=361.1","OPENBLAS_MAIN_FREE=1"]), ProcessExited(1)) [1]
while loading /Users/davidzentlermunro/.julia/v0.4/HttpParser/deps/build.jl, in expression starting on line 42

INFO: Building Homebrew
HEAD is now at 7cbd735 Remove formulae/aliases/travis.yml. (#50676)
HEAD is now at c377b50 Merge pull request #92 from staticfloat/staging
INFO: Building MbedTLS
INFO: Building Nettle

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

WARNING: HttpParser had build errors.

  • packages with build errors remain installed in /Users/davidzentlermunro/.julia/v0.4
  • build the package(s) and all dependencies with Pkg.build("HttpParser")
  • build a single package by running its deps/build.jl script

================================================================================`

@pfitzseb
Copy link

pfitzseb commented Jun 3, 2016

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Only just noticed that line -- maybe try something like this if it's even relevant to your OS version (sorry, I know next to nothing about OSX).

@wildart
Copy link
Collaborator

wildart commented Jun 4, 2016

You need to install dev tools (gcc, make, etc.) to build binary dependencies.

@davidzentlermunro
Copy link
Author

worked a treat, thanks. I followed these instructions in case helpful for anyone:

http://railsapps.github.io/xcode-command-line-tools.html

@chenzjames
Copy link

I have same issue and david's method also works well for me.

@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