Skip to content
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

执行预编译文件报错 #46

Closed
fatinghenji opened this issue Jul 26, 2022 · 1 comment
Closed

执行预编译文件报错 #46

fatinghenji opened this issue Jul 26, 2022 · 1 comment

Comments

@fatinghenji
Copy link

fatinghenji commented Jul 26, 2022

运行环境

Linux localhost 4.4.153-perf+ #1 SMP PREEMPT Thu Mar 5 11:28:37 CST 2020 aarch64 Android

执行结果:

  1. mcl-installer-1.0.7-android-aarch64、mcl-installer-1.0.7-android-arm、mcl-installer-1.0.7-linux-aarch64:同mcl-installer-1.0.3-android-aarch64启动报错:Segmentation fault
  2. mcl-installer-1.0.7-linux-aarch64-musl:
.../home/mirai # ./mcl-installer-1.0.7-linux-aarch64-musl
iTXTech MCL Installer 1.0.7 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer

iTXTech MCL and Java will be downloaded to "/data/data/com.termux/files/home/mirai"

Checking existing Java installation.
Error occurred while checking Java installation

Would you like to install Java? (Y/N, default: Y) 
Java version (8, 11, 17, 18), default: 17): 
JRE or JDK (1: JRE, 2: JDK, default: JRE): 
Binary Architecture (default: aarch64): 
Fetching file list for jre version 17 on aarch64 from https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/aarch64/linux/
[src/main.rs:239:14] Fail to fetch AdoptOpenJDK download list: error sending request for url (https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/aarch64/linux/): error trying to connect: dns error: failed to lookup address information: Try again

参考README自行编译后运行

.../home/mirai # ./mcl-installer1
iTXTech MCL Installer 1.0.7 [OS: linux]
Licensed under GNU AGPLv3.
https://github.com/iTXTech/mcl-installer

iTXTech MCL and Java will be downloaded to "/data/data/com.termux/files/home/mirai"

Checking existing Java installation.
Error occurred while checking Java installation

Would you like to install Java? (Y/N, default: Y) 
Java version (8, 11, 17, 18), default: 17): 
JRE or JDK (1: JRE, 2: JDK, default: JRE): 
Binary Architecture (default: aarch64): 
Fetching file list for jre version 17 on aarch64 from https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/aarch64/linux/
[src/main.rs:239:14] Fail to fetch AdoptOpenJDK download list: error sending request for url (https://mirrors.tuna.tsinghua.edu.cn/Adoptium/17/jre/aarch64/linux/): error trying to connect: invalid URL, scheme is not http
@fatinghenji fatinghenji changed the title 运行编译文件报错 执行预编译文件报错 Jul 26, 2022
@fatinghenji
Copy link
Author

更换编译命令为cargo build --features rustls --release后可以正常运行,关闭。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant