On Wed, Jul 26, 2023 at 09:58:03AM +0000, Tage Johansson wrote:
I have never used rpm, but if you are using Fedora, the following command should be enough:
dnf install clang-devel
We need to work with whatever environment we find ourselves in. We can't just fail because of a missing dependency, but instead should disable the rust bindings (we can however fail at ./configure time if --enable-rust was given explicitly but is not possible). This is the reason for having ./configure at all.
According to this link.
I seem to remember in some project we had a configure-time test to check if rust/cargo was working, compiling a simple test program, but I can't find that right now.
Rich.
That was actually this project. I removed it because we both thought it was unnecessary. And I actually think it wouldn't catch this problem anyway because this is directly related to rust-bindgen.
Since this seems to be caused by rust-bindgen, which we don't need, can we get rid of bindgen now? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com nbdkit - Flexible, fast NBD server with plugins https://gitlab.com/nbdkit/nbdkit