julia icon indicating copy to clipboard operation
julia copied to clipboard

Error when add some packages in julia on termux

Open yfsmth opened this issue 5 years ago • 3 comments

I've installed julia in termux on my android phone, it's great! But when I add some pkgs in julia, such as SpecialFunctions, I got some error as follow. It seems this pkg is provided by binary and julia cant find it, but there is aarch64 version pkg file indeed. How to resolve it? Thanks very much!

(v1.0) pkg> build SpecialFunctions Building SpecialFunctions → ~/.julia/packages/SpecialFunctions/sXbz6/deps/build.log ┌ Error: Error building SpecialFunctions: │ ┌ Warning: Platform aarch64--linux-android is not an officially supported platform │ └ @ BinaryProvider ~/.julia/packages/BinaryProvider/zp4zb/src/PlatformNames.jl:448 │ ERROR: LoadError: LoadError: KeyError: key "unknown" not found │ in expression starting at /data/data/com.termux/files/home/.julia/packages/BinaryProvider/zp4zb/src/PlatformNames.jl:676 │ in expression starting at /data/data/com.termux/files/home/.julia/packages/BinaryProvider/zp4zb/src/BinaryProvider.jl:12 │ ERROR: LoadError: Failed to precompile BinaryProvider [b99e7846-7c00-51b0-8f62-c81ae34c0232] to /data/data/com.termux/files/home/.julia/compiled/v1.0/BinaryProvider/ek6VZ.ji. │ in expression starting at /data/data/com.termux/files/home/.julia/packages/SpecialFunctions/sXbz6/deps/build.jl:1 └ @ Pkg.Operations ~/julia/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1068p

yfsmth avatar Sep 30 '18 09:09 yfsmth