From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Kemp Subject: Dependency checking - early was Re: 3.0.3 without X Date: Fri, 5 Jan 2007 09:31:32 +0000 Message-ID: <20070105093132.GA30866@steve.org.uk> References: <13426df10701040658x642246e7y555377ff7499d381@mail.gmail.com> <20070104153202.GB9172@leeni.uk.xensource.com> <13426df10701040957o3447107bm471788d345c3ae5a@mail.gmail.com> <20070104223114.GA16275@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0265320716==" Return-path: In-Reply-To: <20070104223114.GA16275@leeni.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============0265320716== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 04, 2007 at 10:31:14PM +0000, Ewan Mellor wrote: > Certainly! Patches to documentation such as the README and the user guid= e are > always welcome. This is a great way that people can help out -- by writi= ng > down the things that catch you out the first time around. I was about to report something like this myself this week. Too often I install Xen on a new host and miss a dependency due to carelessness. Please find a patch below to "make world" which first runs "make tools/ch= eck" hopefully making sure that all dependencies are present and detected early. (Most frustrating is missing libssl, or libz, which is only otherwise detected right at the end of a kernel build.) Steve --=20 --- Makefile~ 2006-12-23 21:17:38.000000000 +0000 +++ Makefile 2007-01-05 09:29:04.000000000 +0000 @@ -30,6 +30,13 @@ $(MAKE) -C tools build $(MAKE) -C docs build +# +# Check dependencies. +# +.PHONY: check +check: + $(MAKE) -C tools/check + # The test target is for unit tests that can run without an installation. = Of # course, many tests require a machine running Xen itself, and these are # handled elsewhere. @@ -104,7 +111,7 @@ # and place them in the install directory. 'make install' should then # copy them to the normal system directories .PHONY: world -world: +world: check $(MAKE) clean $(MAKE) kdelete $(MAKE) dist --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFFnhr0wM/Gs81MDZ0RAktAAJ92SNkJdpF+/Hi92ZHnsWnBSj9HrgCfUA55 29uloMEONNLHkIHc57c0u+k= =2B7d -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- --===============0265320716== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0265320716==--