Full, up to date information on how to contribute to libvirt can be found on the libvirt website:
https://libvirt.org/contribute.html
To build the same document locally, from the top level directory of your git clone run:
$ meson build $ ninja -C build
You'll find the freshly-built document in docs/contribute.html
.
If meson setup
fails because of missing dependencies, you can set
up your system by calling
$ sudo dnf builddep libvirt
if you're on a RHEL-based distribution or
$ sudo apt-get build-dep libvirt
if you're on a Debian-based one.
Note that, for the RHEL-based case, if you're on a machine where you haven't done any C development before, you will probably also need to run
$ sudo dnf install gcc make ninja-build rpm-build
You might still be missing some dependencies if your distribution is shipping an old libvirt version, but that will get you much closer to where you need to be to build successfully from source.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。