Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 92907 invoked by uid 500); 9 Mar 2001 14:33:45 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 90732 invoked from network); 9 Mar 2001 14:28:34 -0000 X-Authentication-Warning: kurgan.lyra.org: gstein set sender to gstein@lyra.org using -f Date: Fri, 9 Mar 2001 06:29:44 -0800 From: Greg Stein To: dev@apr.apache.org Subject: Re: cvs commit: apr-util configure.in Message-ID: <20010309062944.Z27539@lyra.org> Mail-Followup-To: dev@apr.apache.org References: <20010309082904.48827.qmail@apache.org> <20010309050625.T27539@lyra.org> <20010309150136.C52014@deejai2.mch.fsc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010309150136.C52014@deejai2.mch.fsc.net>; from Martin.Kraemer@Fujitsu-Siemens.com on Fri, Mar 09, 2001 at 03:01:36PM +0100 X-URL: http://www.lyra.org/greg/ X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Fri, Mar 09, 2001 at 03:01:36PM +0100, Martin Kraemer wrote: > On Fri, Mar 09, 2001 at 05:06:25AM -0800, Greg Stein wrote: > > No. > > > > We run xml/expat/configure, and it produces that Makefile. APRUTIL shouldn't > > be doing this. Please back out this change. > > That is not really true. It definitely did not generate the Makefile, > that's why I added the patch in the first place. > > I always do "buildconf && configure && make clean && make", > and "make clean" bailed out because the apr-util/xml/expat/Makefile > was not generated. A snippet of my configuration log: updating cache ../../../.././config.cache creating ./config.status creating Makefile creating lib/Makefile creating lib/expat.h creating config.h xml/expat configured properly I see the Makefile getting created there :-) ... I figured out the problem. In the APRUTIL configuration, you'll see some lines like this: checking for Expat in /usr... no checking for Expat in /usr/local... no checking for Expat in xml/expat-cvs... no checking for Expat in xml/expat... yes What are you seeing on your platform? I'm guessing that Expat was installed and found in one of those other locations. Thus, aprutil's configure never ran xml/expat/configure, thus never making xml/expat/Makefile. Prolly the same for David. The right answer is to fix xml/Makefile.in to recurse only if APRUTIL decides to use its builtin expat. Fix approacheth... Cheers, -g -- Greg Stein, http://www.lyra.org/