使用 ARM 处理器架构在 Android 上安装 Rakudo

Installing Rakudo on Android with ARM processor architecture

我正在尝试使用 Termux 在我的 Android 上使用 armv7l 处理器架构安装 Rakudo。

我尝试从源代码编译,但没有成功。然后有人为此指出了 Termux 用户 its-pointless 和他的包,但是那个包在我的 phone.

上不起作用

如何在 phone 离线时 运行 Raku?我对不使用 Termux 的解决方案持开放态度。

SSH 上的 Termux 结果:

u0_a74@localhost ~/rakudo [100]> pkg show rakudo -a

Package: rakudo Version: 2020.05 Maintainer: Termux members @termux Installed-Size: 37.7 MB Depends: moarvm Homepage: https://rakudo.org Download-Size: 5062 kB APT-Manual-Installed: yes APT-Sources: https://its-pointless.github.io/files/24 termux/extras arm Packages Description: Perl 6 implementation on top of Moar virtual machine

Package: rakudo Version: 2020.01-1 Maintainer: Fredrik Fornwall @fornwall Installed-Size: 93.1 MB Depends: moarvm Homepage: https://rakudo.org Download-Size: 10.9 MB APT-Sources: https://its-pointless.github.io/files/24 termux/extras arm Packages Description: Perl 6 implementation on top of Moar virtual machine

u0_a74@localhost ~/rakudo> raku

CANNOT LINK EXECUTABLE "raku": cannot locate symbol "ffi_type_double" referenced by "/data/data/com.termux/files/usr/lib/libmoar.so"...

u0_a74@localhost ~/rakudo> raku --version

CANNOT LINK EXECUTABLE "raku": cannot locate symbol "ffi_type_double" referenced by "/data/data/com.termux/files/usr/lib/libmoar.so"...

u0_a74@localhost ~/rakudo> raku --help

CANNOT LINK EXECUTABLE "raku": cannot locate symbol "ffi_type_double" referenced by "/data/data/com.termux/files/usr/lib/libmoar.so"...

u0_a74@localhost ~/rakudo> uname -a

Linux localhost 3.4.42-g3d041de #1 SMP PREEMPT Sat Dec 24 19:56:29 PST 2016 armv7l Android

是否必须在 Termux 上?我已经使用 Debian SSH 通过 UserLand 在 Android 上成功安装了 Raku。 sudo apt-get install rakudo 有效。