-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在Android 9.0(Termux)上Prebuilt(arm64)无法下载订阅内容且尝试手动编译失败 #54
Comments
在 Termux 上使用 |
已修正代码 可以重新尝试编译 |
再次测试,仍然无法正常获取节点信息。不知是不是我使用
CMake Log:
注意到"-- Performing Test HAVE_TO_STRING - Failed",不知有无影响。 Build Log:
|
补充测试: |
已经成功编译,谢谢! |
包不存在? $ pkg install libandroid-spawn-static
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libandroid-spawn-static
$ pkg install libandroid-spawn
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libandroid-spawn |
您好,经过和作者确认,libandroid-spawn-static包不必安装。拉取最新代码后,注释"src/processes.cpp"文件第16行引用(#include <spawn.h>)即可。实现里没用到这个包,好像是个一直没改的地方。 |
$ pkg search spwan
Sorting... Done
Full Text Search... Done
$ pkg search libandroid
Sorting... Done
Full Text Search... Done
libandroid-glob/stable,now 0.6-1 arm [installed,automatic]
Shared library for the glob(3) system function
libandroid-glob-static/stable 0.6-1 arm
Static libraries for libandroid-glob
libandroid-shmem/stable 0.2.1-1 arm
System V shared memory emulation on Android using ashmem
libandroid-shmem-static/stable 0.2.1-1 arm
Static libraries for libandroid-shmem
libandroid-support/stable,now 24-6 arm [installed]
Library extending the Android C library (Bionic) for additional multibyte, locale and math support
libandroid-support-static/stable 24-6 arm
Static libraries for libandroid-support |
我在termux-packages这个库里找到了 |
我觉得可能是版本低了。似乎新系统版本和老系统版本用的包源不一样。 |
Device: XiaoMi 5
Host: Mokee Android 9.0 (Termux 0.92)
Linux Kernel Version: 3.18.120
Architecture: aarch64
脱敏Log:
我翻了一下telegram的讨论组,有人说用termux-chroot可以正常运行subconverter,故尝试使用termux-chroot运行stairspeedtest,结果与直接运行一样。
拉取源代码后,修改scripts/config.termux.sh中安装包部分"libz-static"为"zlib-static",并添加了"pcre-static"、"pcre2-static"与"pkg-config"。
执行此文件,正常结束。
后执行
“mkdir stairspeedtest-reborn-build"
"cd stairspeedtest-reborn-build"
"cmake ../stairspeedtest-reborn/"
至此,一切正常结束
在进行编译“make -j1”时,
报error错误,编译失败,详见下方log。
CMake Log:
Build Log:
The text was updated successfully, but these errors were encountered: