From: Muli Ben-Yehuda Subject: Re: pygrug breaks build with python2.2 Date: Wed, 19 Oct 2005 18:57:38 +0200 Message-ID: <20051019165738.GS26239@granada.merseine.nu> References: <20051019150349.GP26239@granada.merseine.nu> <20051019165121.GF10710@tpkurt.pmc.nue.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20051019165121.GF10710@tpkurt.pmc.nue.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: Kurt Garloff , katzj@redhat.com, xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, Oct 19, 2005 at 06:51:21PM +0200, Kurt Garloff wrote: > Hi, > > On Wed, Oct 19, 2005 at 05:03:50PM +0200, Muli Ben-Yehuda wrote: > > pygrub's setup.py relies on distutils.UnixCCompiler.has_function(), > > which does not exist with python2.2, causing the following build > > error: > [...] > > The following patch gets it to build, but is pretty ugly. A proper fix > > would be to do the check for ext2fs_open2() in a way that is backward > > compatible with python2.2. > > Why not just disable building pygrub if your python is that ancient? If this is the only thing required for it to work with 2.2, it would be a shame not to support it. If it's entirely dependant on 2.4, disabling it is fine. FWIW, the top-level README gives python2.2 as a prerequisite and everything else appears to build fine with it. Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/