From 313e628a76656ce38177331d0ee4fee13abd4024 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Mon, 27 Apr 2020 12:48:51 +0200 Subject: [PATCH] CONTRIBUTING: Include note about build system tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Debian always runs autoreconf at package build time, which means that apt-get build-dep will bring in everything that's needed to build libvirt from a git clone; Fedora and RHEL, however, skip this step, so we have to install some extra packages manually. Signed-off-by: Andrea Bolognani Reviewed-by: Daniel P. Berrangé --- CONTRIBUTING.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 12b6e3f0e8..972b189873 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -33,6 +33,14 @@ if you're on a RHEL-based distribution or 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 libtool autoconf automake 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.