failed to build packages on linux under julia v1.0.0

ERROR: LoadError: UndefVarError: is_linux not defined
Stacktrace:
 [1] top-level scope at /home/leaf/.julia/packages/MXNet/i7RgE/deps/build.jl:28
 [2] include at ./boot.jl:317 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1038
 [4] include(::Module, ::String) at ./sysimg.jl:29
 [5] include(::String) at ./client.jl:388
 [6] top-level scope at none:0
in expression starting at /home/leaf/.julia/packages/MXNet/i7RgE/deps/build.jl:26

I can’t solve the problem by reading its log and I hope someone to help me to attempt to find anything to push the problem. Thanks a lot!

Looks like MXNet is not updated for use with Julia v0.7/v1.0 yet. You can try on Julia v0.6. You can also file an issue https://github.com/dmlc/MXNet.jl about this, or upgrade the package yourself!

1 Like
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0 (2018-08-08 06:46 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32

julia> is_linux()
┌ Warning: `is_linux` is deprecated, use `Sys.islinux` instead.
│   caller = top-level scope at none:0
└ @ Core none:0
false

julia>
1 Like

@leaf Please do not post these kind of questions in the “Community” category. This category is for “Non-technical topics of the Julia community”, announcements, etc. Please use the “Usage/first steps” for questions like this one.

1 Like
1 Like

yeah, you say that rightly, I am sorry to do it and thank you for tipping me.:slight_smile: