From: Stewart Smith <stewart@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Stewart Smith <stewart@linux.vnet.ibm.com>
Subject: [Qemu-devel] [PATCH v2 6/6] configure: helpfully output package names for some missing dependencies.
Date: Fri, 24 Jan 2014 12:39:11 +1100 [thread overview]
Message-ID: <1390527551-22069-7-git-send-email-stewart@linux.vnet.ibm.com> (raw)
In-Reply-To: <1390527551-22069-1-git-send-email-stewart@linux.vnet.ibm.com>
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 <stewart@linux.vnet.ibm.com>
---
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
next prev parent reply other threads:[~2014-01-24 1:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-23 4:54 [Qemu-devel] [PATCH] configure: helpfully output package names for some missing dependencies Stewart Smith
2014-01-23 6:21 ` Stefan Weil
2014-01-23 10:28 ` Peter Maydell
2014-01-23 11:08 ` Stewart Smith
2014-01-24 1:39 ` [Qemu-devel] [PATCH v2 0/6] configure: make output and errors more friendly Stewart Smith
2014-01-24 1:39 ` [Qemu-devel] [PATCH v2 1/6] configure: add hint of libfdt to DTC dependency not found message Stewart Smith
2014-01-24 6:13 ` Stefan Weil
2014-01-24 1:39 ` [Qemu-devel] [PATCH v2 2/6] configure: sort output of configure results alphabetically Stewart Smith
2014-01-24 1:39 ` [Qemu-devel] [PATCH v2 3/6] configure: alphabetize output of --help and separate into groups Stewart Smith
2014-01-24 6:30 ` Stefan Weil
2014-01-24 1:39 ` [Qemu-devel] [PATCH v2 4/6] configure: add help for --disable-xfsctl and --enable-xfsctl Stewart Smith
2014-01-24 1:39 ` [Qemu-devel] [PATCH v2 5/6] configure: add hints to a remedy for feature_not_found errors Stewart Smith
2014-01-24 1:39 ` Stewart Smith [this message]
2014-02-01 9:55 ` [Qemu-devel] [Qemu-trivial] [PATCH v2 0/6] configure: make output and errors more friendly Michael Tokarev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1390527551-22069-7-git-send-email-stewart@linux.vnet.ibm.com \
--to=stewart@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).