线程中的错误' main'惊慌失措的是建造libffi'
系统:Ubuntu 22.04 LTS(Wayland)。我正在尝试构建一个简单的RSMPI代码(RUST+MPI),但是由于错误:线程“ Main”感到恐慌,因此无法构建它。
我的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/8ppzpjsvi
System: Ubuntu 22.04 LTS (Wayland). I am trying to build a simple rsmpi code (Rust+MPI), but I am unable to build it because of the error : thread 'main' panicked at 'Building libffi'.
My Carg.toml file is:
[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"
The error shown is:
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
Can someone please help?
Note: You can find the entire error log here: https://pastebin.com/8pZPJSvi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Libffi作者在这里。 Sven是正确的 - 您的系统缺少MakeInfo。在我的Fedora盒子上,这是由Texinfo包提供的。
Libffi author here. Sven is right -- your system is missing makeinfo. On my fedora box, this is provided by the texinfo package.