Skip to content

Error when add some packages in julia on termux #3

Description

@yfsmth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions