Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue installing Atom on julia 0.6 using Ubuntu #366

Closed
huckl3b3rry87 opened this issue Jun 30, 2017 · 3 comments
Closed

issue installing Atom on julia 0.6 using Ubuntu #366

huckl3b3rry87 opened this issue Jun 30, 2017 · 3 comments

Comments

@huckl3b3rry87
Copy link

huckl3b3rry87 commented Jun 30, 2017

I was having some issues trying to get Atom working and I ended up just deleting all of my julia and atom packages and installed the newest Atom.

Then;
At first I tried to let Atom install Atom.jl after typing into the command window, then I removed Atom.jl and updated my julia packages and tried to install Atom.jl in julia to see the error easily:

julia> Pkg.add("Atom")
INFO: Installing ASTInterpreter v0.0.4
INFO: Installing AbstractTrees v0.0.4
INFO: Installing ArgParse v0.5.0
INFO: Installing Atom v0.6.0
INFO: Installing Blink v0.5.3
INFO: Installing COFF v0.0.2
INFO: Installing CRC v1.2.0
INFO: Installing CodeTools v0.4.6
INFO: Installing Codecs v0.3.0
INFO: Installing DWARF v0.1.0
INFO: Installing ELF v0.1.0
INFO: Installing Gallium v0.0.4
INFO: Installing HttpCommon v0.2.7
INFO: Installing HttpParser v0.2.0
INFO: Installing HttpServer v0.2.0
INFO: Installing JuliaParser v0.7.4
INFO: Installing LNR v0.0.2
INFO: Installing Lazy v0.11.7
INFO: Installing MachO v0.0.4
INFO: Installing MbedTLS v0.4.5
INFO: Installing Mustache v0.1.4
INFO: Installing Mux v0.2.3
INFO: Installing ObjFileBase v0.0.4
INFO: Installing Reactive v0.5.2
INFO: Installing StructIO v0.0.2
INFO: Installing TerminalUI v0.0.2
INFO: Installing TextWrap v0.2.0
INFO: Installing Tokenize v0.1.8
INFO: Installing VT100 v0.1.0
INFO: Installing WebSockets v0.2.3
INFO: Building HttpParser
WARNING: BinDeps.shlib_ext is deprecated.
  likely near /home/febbo/.julia/v0.6/HttpParser/deps/build.jl:38
INFO: Attempting to Create directory /home/febbo/.julia/v0.6/HttpParser/deps/downloads
INFO: Directory /home/febbo/.julia/v0.6/HttpParser/deps/downloads already created
INFO: Attempting to Create directory /home/febbo/.julia/v0.6/HttpParser/deps/downloads
INFO: Directory /home/febbo/.julia/v0.6/HttpParser/deps/downloads already created
INFO: Downloading file 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
INFO: Attempting to Create directory /home/febbo/.julia/v0.6/HttpParser/deps
INFO: Directory /home/febbo/.julia/v0.6/HttpParser/deps already created
INFO: Path /home/febbo/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1 already created
INFO: Attempting to Create directory /home/febbo/.julia/v0.6/HttpParser/deps/usr/lib
INFO: Directory /home/febbo/.julia/v0.6/HttpParser/deps/usr/lib already created
INFO: Changing Directory to /home/febbo/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1
INFO: Changing Directory to /home/febbo/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1
INFO: Changing Directory to /home/febbo/.julia/v0.6/HttpParser/deps/src
INFO: Attempting to Create directory /home/febbo/.julia/v0.6/HttpParser/deps/usr/lib
INFO: Directory /home/febbo/.julia/v0.6/HttpParser/deps/usr/lib already created
INFO: Changing Directory to /home/febbo/.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/bin/pdf2svg:/usr/local/texlive/2016/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin", "DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path", "QT_ACCESSIBILITY=1", "UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1484", "LD_LIBRARY_PATH=/home/febbo/knitro-10.2.1-z-Linux-64/lib:", "UPSTART_JOB=unity-settings-daemon", "DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-WvZeTZXAsl", "MANPATH=/usr/local/texlive/2016/texmf-dist/doc/man:", "XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0", "XDG_SESSION_DESKTOP=ubuntu", "XDG_SESSION_TYPE=x11", "USER=febbo", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg", "QT_IM_MODULE=ibus", "LESSCLOSE=/usr/bin/lesspipe %s %s", "JAVA_HOME=/usr/lib/jvm/java-8-oracle", "SESSIONTYPE=gnome-session", "INSTANCE=Unity", "GDMSESSION=ubuntu", "CLUTTER_IM_MODULE=xim", "XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "LESSOPEN=| /usr/bin/lesspipe %s", "SHELL=/bin/bash", "XDG_SEAT=seat0", "XAUTHORITY=/home/febbo/.Xauthority", "J2SDKDIR=/usr/lib/jvm/java-8-oracle", "GTK_MODULES=gail:atk-bridge:unity-gtk-module", "GNOME_KEYRING_PID=", "GTK_IM_MODULE=ibus", "QT_QPA_PLATFORMTHEME=appmenu-qt5", "XMODIFIERS=@im=ibus", "TERM=xterm-256color", "HOME=/home/febbo", "VTE_VERSION=4205", "GTK2_MODULES=overlay-scrollbar", "J2REDIR=/usr/lib/jvm/java-8-oracle/jre", "IM_CONFIG_PHASE=1", "COMPIZ_CONFIG_PROFILE=ubuntu", "UPSTART_INSTANCE=", "XDG_CURRENT_DESKTOP=Unity", "LANG=en_US.UTF-8", "SHLVL=1", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "LOGNAME=febbo", "XDG_RUNTIME_DIR=/run/user/1000", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "DESKTOP_SESSION=ubuntu", "GDM_LANG=en_US", "INFOPATH=/usr/local/texlive/2016/texmf-dist/doc/info:", "_=/opt/julia-903644385b/bin/julia", "GPG_AGENT_INFO=/home/febbo/.gnupg/S.gpg-agent:0:1", "PWD=/home/febbo", "DISPLAY=:0", "UPSTART_EVENTS=started starting", "LANGUAGE=en_US", "SONAME=libhttp_parser.so", "XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/febbo", "XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0", "XDG_VTNR=7", "WINDOWID=54525962", "MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path", "XDG_SESSION_ID=c2", "QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1", "DERBY_HOME=/usr/lib/jvm/java-8-oracle/db", "QT4_IM_MODULE=xim", "LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:", "GNOME_KEYRING_CONTROL=", "JOB=gnome-session", "OPENBLAS_MAIN_FREE=1"]): not a directory (ENOTDIR)
while loading /home/febbo/.julia/v0.6/HttpParser/deps/build.jl, in expression starting on line 71

================================================================================
INFO: Building MbedTLS

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

WARNING: HttpParser had build errors.

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

================================================================================
INFO: Package database updated

The issue seems to be with HttpParser JuliaWeb/HttpParser.jl#69

Without HttpParser:
just delete the lines
https://github.com/JuliaWeb/HttpParser.jl/blob/master/src/HttpParser.jl#L8-L10

Then atom will complain a little and eventually work. After messing with this for entirely too long I am trilled with this temp solution

Moving forward
This is an issue that needs to be resolved and any help would be greatly appreciated!

@pfitzseb
Copy link
Member

pfitzseb commented Jul 1, 2017

Hm, this seems to be a problem with your setup -- travis is running on ubuntu too and I've never seen that problem there (or locally on Fedora or Windows). Not sure I can really help you with this either, especially since it is a HTTPParser/BinDeps related problem.

@huckl3b3rry87
Copy link
Author

OK, thanks. I am just going back to the @show command

@huckl3b3rry87
Copy link
Author

According to this @quinnj JuliaWeb/HttpParser.jl#69 (comment) it seems HTTPParser.jl should be replaced for https://github.com/JuliaWeb/HTTP.jl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants