[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [TOOLS] Add more checks for devel packages.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Node ID d0eb5da1086b4f9639dddc7f8d2c259753f854f7 # Parent bfe3f8f35e87af01588765e48c71de05e30ea234 [TOOLS] Add more checks for devel packages. On different systems I ran into different build failures that can be made more understandable by adding appropriate -devel package installation checks. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- tools/check/check_crypto_lib | 11 +++++++++++ tools/check/check_openssl_devel | 11 +++++++++++ tools/check/check_x11_devel | 11 +++++++++++ 3 files changed, 33 insertions(+) diff -r bfe3f8f35e87 -r d0eb5da1086b tools/check/check_crypto_lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/check/check_crypto_lib Mon Nov 13 14:01:17 2006 +0000 @@ -0,0 +1,11 @@ +#!/bin/bash +# CHECK-BUILD CHECK-INSTALL + +function error { + echo + echo " *** Check for crypto library FAILED" + exit 1 +} + +set -e +ldconfig -p | grep -q libcrypto.so || error diff -r bfe3f8f35e87 -r d0eb5da1086b tools/check/check_openssl_devel --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/check/check_openssl_devel Mon Nov 13 14:01:17 2006 +0000 @@ -0,0 +1,11 @@ +#!/bin/bash +# CHECK-BUILD + +function error { + echo + echo " *** Check for openssl headers FAILED" + exit 1 +} + +set -e +[ -e /usr/include/openssl/md5.h ] || error diff -r bfe3f8f35e87 -r d0eb5da1086b tools/check/check_x11_devel --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/check/check_x11_devel Mon Nov 13 14:01:17 2006 +0000 @@ -0,0 +1,11 @@ +#!/bin/bash +# CHECK-BUILD + +function error { + echo + echo " *** Check for x11 headers FAILED" + exit 1 +} + +set -e +[ -e /usr/include/X11/keysymdef.h ] || error _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |