IJulia build issues

first-steps

#1

New user. Running on ubuntu 16.04, source build of julia

commit 231676a93442616663470e94d49cbb56085be536
Author: Ellipse0934 <adityapuranik97@gmail.com>
Date:   Sat Feb 10 17:13:38 2018 +0530

I am trying to follow the steps in the gitbook “Learn Julia the Hard Way” and get the following:

tkrauss@trogdor ~/git/julia (master) $ ./julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0-DEV.3945 (2018-02-10 11:43 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 231676a* (11 days old master)
|__/                   |  x86_64-linux-gnu

julia> using Pkg

julia> using IJulia
[ Info: Precompiling module IJulia
┌ Warning: Deprecated syntax `type` at /home/tkrauss/.julia/v0.7/ZMQ/src/ZMQ.jl:39.
│ Use `mutable struct` instead.
└ @ nothing ZMQ.jl:39
┌ Warning: Deprecated syntax `type` at /home/tkrauss/.julia/v0.7/ZMQ/src/ZMQ.jl:63.
│ Use `mutable struct` instead.
└ @ nothing ZMQ.jl:63
┌ Warning: Deprecated syntax `type` at /home/tkrauss/.julia/v0.7/ZMQ/src/ZMQ.jl:97.
│ Use `mutable struct` instead.
└ @ nothing ZMQ.jl:97
┌ Warning: Deprecated syntax `type` at /home/tkrauss/.julia/v0.7/ZMQ/src/ZMQ.jl:318.
│ Use `mutable struct` instead.
└ @ nothing ZMQ.jl:318
WARNING: Base.Libdl is deprecated, run `using Libdl` instead
  likely near /home/tkrauss/.julia/v0.7/ZMQ/src/ZMQ.jl:8
WARNING: Base.Libdl is deprecated, run `using Libdl` instead
  likely near /home/tkrauss/.julia/v0.7/ZMQ/src/ZMQ.jl:9
WARNING: could not import Filesystem.UV_READABLE into ZMQ
WARNING: could not import Filesystem.uv_pollcb into ZMQ
ERROR: LoadError: UndefVarError: _FDWatcher not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at ./sysimg.jl:14
 [2] top-level scope
 [3] include at ./boot.jl:295 [inlined]
 [4] include_relative(::Module, ::String) at ./loading.jl:1067
 [5] include(::Module, ::String) at ./sysimg.jl:26
 [6] top-level scope
 [7] eval at ./boot.jl:298 [inlined]
 [8] top-level scope at ./<missing>:3
in expression starting at /home/tkrauss/.julia/v0.7/ZMQ/src/ZMQ.jl:60
ERROR: LoadError: Failed to precompile ZMQ to /home/tkrauss/.julia/lib/v0.7/ZMQ.ji.
Stacktrace:
 [1] error at ./error.jl:33 [inlined]
 [2] compilecache(::Base.PkgId) at ./loading.jl:1208
 [3] _require(::Base.PkgId) at ./loading.jl:974
 [4] require(::Module, ::Symbol) at ./loading.jl:874
 [5] include at ./boot.jl:295 [inlined]
 [6] include_relative(::Module, ::String) at ./loading.jl:1067
 [7] include(::Module, ::String) at ./sysimg.jl:26
 [8] top-level scope
 [9] eval at ./boot.jl:298 [inlined]
 [10] top-level scope at ./<missing>:3
in expression starting at /home/tkrauss/.julia/v0.7/IJulia/src/IJulia.jl:38
ERROR: Failed to precompile IJulia to /home/tkrauss/.julia/lib/v0.7/IJulia.ji.
Stacktrace:
 [1] error at ./error.jl:33 [inlined]
 [2] compilecache(::Base.PkgId) at ./loading.jl:1208
 [3] _require(::Base.PkgId) at ./loading.jl:1003
 [4] require(::Module, ::Symbol) at ./loading.jl:874

Thanks for any help!

Regards,
Tom


#2

If you’re a new user, use the latest stable release (Julia 0.6.2 currently) rather than the development version.


#3

Good advice. Thank you!
The problem doesn’t exist on my machine’s package-installed version (0.6.2).