From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] add check for python-devel to tools build Date: Tue, 21 Nov 2006 10:51:49 -0600 Message-ID: <45632EA5.6090404@us.ibm.com> References: <45633B55.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45633B55.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org Jan Beulich wrote: > Again, this must be given exec permission after applying. > > Signed-off-by: Jan Beulich > > Index: 2006-11-17/tools/check/check_python_devel > =================================================================== > --- /dev/null 1970-01-01 00:00:00.000000000 +0000 > +++ 2006-11-17/tools/check/check_python_devel 2006-11-21 12:03:08.000000000 +0100 > @@ -0,0 +1,13 @@ > +#!/bin/bash > +# CHECK-BUILD > + > +function error { > + echo > + echo " *** Check for python development environment FAILED" > + exit 1 > +} > + > +lib=lib > +test "$(uname -m)" != x86_64 || lib=lib64 > +set -e > +[ -e /usr/$lib/python/config/Makefile ] || error There is no /usr/lib/python/config/Makefile on Ubuntu. You should be okay if you also check for /usr/lib/python-2.[345]/config/Makefile. Regards, Anthony Liguori