系统: Ubuntu 22.04 LTS (Wayland)。我正在尝试构建一个简单的rsmpi代码(Rust+MPI),但是我无法构建它,因为错误:线程'main‘在'Building’时惊慌失措。
我的Carg.toml文件是:
[package]
name = "heat_equation_mpi"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
#mpi = { git = "https://github.com/bsteinb/rsmpi", rev = "f9aec8b8d82" }
mpi = "0.5.4"显示的错误是:
error: failed to run custom build command for `libffi-sys v0.6.0`
Caused by:process didn't exit successfully:
..... some lines here ....
thread 'main' panicked at 'Building libffi', /home/my_name/.cargo/registry/src/github.com-1ecc6299db9ec823/libffi-sys-0.6.0/build.rs:27:9有人能帮忙吗?
注意:您可以在这里找到整个错误日志:https://pastebin.com/8pZPJSvi
发布于 2022-05-06 20:53:48
这里是Libffi作者。斯文是对的--你的系统丢失了makeinfo。在我的软呢帽盒上,这是由文本信息包提供的。
https://stackoverflow.com/questions/72138962
复制相似问题