From nobody Sat May 4 12:25:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1587380088; cv=none; d=zohomail.com; s=zohoarc; b=GOcUrDWHX9vrbjwu5a734a9Th4IyJMYs8VeTmQr9ENSmZlx7QfUE1RMaPXOmtAlLHnN+q4qM+cl93IHQXSmYOu3Pkmsg+DVs+F3euZs6ZJOLL1Vmt48f1Fmy060de0jiRrBLvzJMtNjakt71gLjZnNQdfuK27ToSQFDFaPxmPRs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587380088; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=0vHJTh6n4NC9s4P7BU+RVIjf3o5c6g18ya2hTebJ2ZU=; b=W+vorN2useBIViM3Rv7T218v3ZZkjsTJeUNXjmZxparZhnAdFdLs966JmU8rUX50rWCcrkUc9WS/KV3cdrhCQP8ul6cmnxMHu5Usmfc8Dt0lPC3MQhWvAbyfkagdzpYevkd2fgrGE9hNJ4chupn59YWqApfOXEL/7qWurI2Fuhk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1587380088211800.4881776205895; Mon, 20 Apr 2020 03:54:48 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-477-5H02JNMINqGnWzjWqNuMdw-1; Mon, 20 Apr 2020 06:54:43 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CA5F5DB20; Mon, 20 Apr 2020 10:54:35 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D1DB5A188B; Mon, 20 Apr 2020 10:54:34 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 8A8091809567; Mon, 20 Apr 2020 10:54:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03KAsTaH011883 for ; Mon, 20 Apr 2020 06:54:29 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2C078A188D; Mon, 20 Apr 2020 10:54:29 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.195.240]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 53FF0A188B for ; Mon, 20 Apr 2020 10:54:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587380086; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=0vHJTh6n4NC9s4P7BU+RVIjf3o5c6g18ya2hTebJ2ZU=; b=I7B0P4nkz5mXXE0cWAfjQkW7Mex66m3bL15zYY5k8cR3jCSyXstWTI11D+kOM1/Wxfq3gr fRWdvygTmFxO/6bYEZSqyInqytwqmNcnxlPBbeCGeon2gk2B9IsRLRiLmfuS9f/hm6Wcju oQTSgbVc4NVw4vDNg7K+cjAWLfDmCfw= X-MC-Unique: 5H02JNMINqGnWzjWqNuMdw-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH] CONTRIBUTING: Include information on build dependencies Date: Mon, 20 Apr 2020 12:54:22 +0200 Message-Id: <20200420105422.13858-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" libvirt depends on a ton of packages, so trying to install them all by using the classic approach of repeatedly running configure and reacting to each failure by installing the corresponding missing package will inevitably lead to frustration. Luckily there's an easy solution to get most dependencies installed in one fell swoop, and we just need to document it. Signed-off-by: Andrea Bolognani Reviewed-by: Laine Stump --- CONTRIBUTING.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 68c7b547c6..f476700fdd 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -17,3 +17,22 @@ your git clone run: $ make =20 You'll find the freshly-built document in ``docs/contribute.html``. + +If ``configure`` 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. + +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. --=20 2.25.3