From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6VkJ-0008Sm-8M for qemu-devel@nongnu.org; Thu, 23 Jan 2014 20:39:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6VkA-0000SE-5R for qemu-devel@nongnu.org; Thu, 23 Jan 2014 20:39:47 -0500 Received: from e23smtp03.au.ibm.com ([202.81.31.145]:48903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6Vk9-0000Re-EU for qemu-devel@nongnu.org; Thu, 23 Jan 2014 20:39:38 -0500 Received: from /spool/local by e23smtp03.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 24 Jan 2014 11:39:31 +1000 From: Stewart Smith Date: Fri, 24 Jan 2014 12:39:11 +1100 Message-Id: <1390527551-22069-7-git-send-email-stewart@linux.vnet.ibm.com> In-Reply-To: <1390527551-22069-1-git-send-email-stewart@linux.vnet.ibm.com> References: <1390452896-20146-1-git-send-email-stewart@linux.vnet.ibm.com> <1390527551-22069-1-git-send-email-stewart@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 6/6] configure: helpfully output package names for some missing dependencies. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Stewart Smith This just makes it a tiny bit easier for new developers to get started by making it easy to see what package they need to install to get the dependency. Signed-off-by: Stewart Smith --- configure | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 4ad2de5..cc49cf4 100755 --- a/configure +++ b/configure @@ -1540,7 +1540,9 @@ EOF : else error_exit "zlib check failed" \ - "Make sure to have the zlib libs and headers installed." + "Make sure to have the zlib libs and headers installed." \ + "Debian/Ubuntu: zlib1g-dev" \ + "Fedora/RHEL: zlib-devel" fi fi libs_softmmu="$libs_softmmu -lz" @@ -2356,7 +2358,9 @@ if $pkg_config --atleast-version=$glib_req_ver gthread-2.0; then LIBS="$glib_libs $LIBS" libs_qga="$glib_libs $libs_qga" else - error_exit "glib-$glib_req_ver required to compile QEMU" + error_exit "glib-$glib_req_ver required to compile QEMU."\ + "Debian/Ubuntu: libglib2.0-dev" \ + "Fedora/RHEL: glib2-devel" fi ########################################## @@ -2388,6 +2392,8 @@ else error_exit "pixman not present. Your options:" \ " (1) Preferred: Install the pixman devel package (any recent" \ " distro should have packages as Xorg needs pixman too)." \ + " Ubuntu/Debian: libpixman-1-dev" \ + " Fedora/RHEL: pixman-devel"\ " (2) Fetch the pixman submodule, using:" \ " git submodule update --init pixman" fi @@ -2664,6 +2670,8 @@ EOF # have neither and want - prompt for system/submodule install error_exit "DTC (libfdt) not present. Your options:" \ " (1) Preferred: Install the DTC (libfdt) devel package" \ + " Ubuntu/Debian: libfdt-dev" \ + " Fedora/RHEL: libfdt-devel" \ " (2) Fetch the DTC submodule, using:" \ " git submodule update --init dtc" else -- 1.8.4.2