# failed to build packages on linux under julia v1.0.0

**URL:** <https://discourse.julialang.org/t/failed-to-build-packages-on-linux-under-julia-v1-0-0/13610>\
**Category:** Community\
**Tags:** package\
**Created:** [August 17, 2018, 10:10am UTC](https://discourse.julialang.org/t/failed-to-build-packages-on-linux-under-julia-v1-0-0/13610 "2018-08-17T10:10:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![leaf](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@leaf](https://discourse.julialang.org/u/leaf)\
**Post date:** [August 17, 2018, 10:10am UTC](https://discourse.julialang.org/t/failed-to-build-packages-on-linux-under-julia-v1-0-0/13610/1 "2018-08-17T10:10:29Z")

</div>

```nohighlight
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!

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [August 17, 2018, 10:15am UTC](https://discourse.julialang.org/t/failed-to-build-packages-on-linux-under-julia-v1-0-0/13610/2 "2018-08-17T10:15:06Z")

</div>

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](https://github.com/dmlc/MXNet.jl) about this, or upgrade the package yourself!

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [August 17, 2018, 10:15am UTC](https://discourse.julialang.org/t/failed-to-build-packages-on-linux-under-julia-v1-0-0/13610/3 "2018-08-17T10:15:30Z")

</div>

```julia
               _
   _ _ _(_)_ | 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>

```

---

<div class="post-metadata">

**Author:** ![Datseris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/datseris/32/13406_2.png) [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Post date:** [August 17, 2018, 10:27am UTC](https://discourse.julialang.org/t/failed-to-build-packages-on-linux-under-julia-v1-0-0/13610/4 "2018-08-17T10:27:55Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![John\_Gibson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/john_gibson/32/5321_2.png) [@John\_Gibson](https://discourse.julialang.org/u/John_Gibson)\
**Post date:** [August 17, 2018, 10:53am UTC](https://discourse.julialang.org/t/failed-to-build-packages-on-linux-under-julia-v1-0-0/13610/5 "2018-08-17T10:53:46Z")

</div>

> [@PSA: use Julia 0.7 if you are upgrading](https://discourse.julialang.org/t/psa-use-julia-0-7-if-you-are-upgrading/13321):
>
> A lot of people are posting issues where their old code doesn’t work anymore on 1.0 because some function has been renamed or removed. The 0.7 release exists exactly for this reason: your old code will work on 0.7 and give you a specific warning about how to fix your code. If you have any old code, you should use 0.7 to get these warnings before switching to 1.0; even if you just have work habits that may need changing, you should probably use 0.7 for a while. If someone posts an issue like thi…

---

<div class="post-metadata">

**Author:** ![leaf](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@leaf](https://discourse.julialang.org/u/leaf)\
**Post date:** [August 20, 2018, 4:17am UTC](https://discourse.julialang.org/t/failed-to-build-packages-on-linux-under-julia-v1-0-0/13610/6 "2018-08-20T04:17:49Z")

</div>

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