Working on Manjaro Linux, GCC 8, Julia 1.0 installed with the official Manjaro repos.
I try to do some work with 1.0β¦ Of course, none of my codes work (has been wrote in 0.5)
I can fix it, but the problem is I canβt even have a proper working Julia installation anymore
When trying to install LsqFit, I got an error message that Arpack canβt build:
Building Arpack β `~/.julia/packages/Arpack/WP3ru/deps/build.log`
β Error: Error building `Arpack`:
β β Warning: Could not extract the platform key of https://github.com/JuliaLinearAlgebra/ArpackBuilder/releases/download/v3.5.0-0.2.20/ArpackBuilder.x86_64-linux-gnu.tar.gz; continuing...
β β @ BinaryProvider ~/.julia/packages/BinaryProvider/UTYxu/src/Prefix.jl:224
β [ Info: Downloading https://github.com/JuliaLinearAlgebra/ArpackBuilder/releases/download/v3.5.0-0.2.20/ArpackBuilder.x86_64-linux-gnu.tar.gz to /home/charles/.julia/packages/Arpack/WP3ru/deps/usr/downloads/ArpackBuilder.x86_64-linux-gnu.tar.gz...
β ERROR: LoadError: LibraryProduct(nothing, ["libarpack"], :libarpack, "Prefix(/home/charles/.julia/packages/Arpack/WP3ru/deps/usr)") is not satisfied, cannot generate deps.jl!
β Stacktrace:
β [1] #write_deps_file#134(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/charles/.julia/packages/BinaryProvider/UTYxu/src/Products.jl:409
β [2] write_deps_file(::String, ::Array{LibraryProduct,1}) at /home/charles/.julia/packages/BinaryProvider/UTYxu/src/Products.jl:396
β [3] top-level scope at none:0
β [4] include(::String) at ./client.jl:388
β [5] top-level scope at none:0
β in expression starting at /home/charles/.julia/packages/Arpack/WP3ru/deps/build.jl:40
[15:24:23] ######################################################################## 100.0%
β @ Pkg.Operations /build/julia/src/julia/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068
I know it is probably related to this post, but I do not really understand the solution? Should I install Julia from the binary? Do anyone has any suggestion?
Those Manjaro repos are likely just the Arch Linux repos. Iβm not sure why they are recompiled, Arch policy should dictate not changing upstream packages unless you have to.
Just downloading the default Julia binaries and running them from /opt works for me.
Both 0.7 and 1.0 are official and released builds - the difference between the two is that 0.7 has deprecation warnings for removed functions and 1.0 does not. In that respect, 0.7 is intended to be used for your precise usecase - porting old code to the newest version. Once it works on 0.7, it should also work an 1.0.
The only official distributions of julia are though julialang.org - if a third party package manager decides to recompile and distribute on their own, thatβs on them and for them to debug.
Actually I think the error comes from Compatβ¦ For whatever reason, I canβt even update PyPlot without having this issue that seems related to Compat.
Has this issue been solved? I still have the issue in Fedora 29, but I prefer to install Julia from repository. If it is in the repository, then it is supposed to workβ¦
Building from source makes it tricky for updating.
Making it easy to update is why I have been building from source. git pull && make -j[number of cores].
Of course, letting the package manager take care of things is even easier, assuming youβre keeping your system up to date anyway.