Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1609 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78971 invoked from network); 16 May 2003 18:49:26 -0000 Received: from unknown (HELO carmine.bestweb.net) (209.94.102.73) by pb1.pair.com with SMTP; 16 May 2003 18:49:26 -0000 Received: from [192.168.1.102] (ip216-179-71-153.cust.bestweb.net [216.179.71.153]) by carmine.bestweb.net (Postfix) with ESMTP id A10AF23C37; Fri, 16 May 2003 13:49:22 -0500 (EST) To: Adam Dickmeiss Cc: internals@lists.php.net In-Reply-To: <20030516182707.GA23334@indexdata.com> References: <20030516145005.GA32571@indexdata.com> <1053091807.5661.49.camel@hasele> <20030516182707.GA23334@indexdata.com> Content-Type: text/plain Organization: Message-ID: <1053105867.5661.256.camel@hasele> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 16 May 2003 13:24:27 -0400 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Bundling libxml2 default? From: sterling@bumblebury.com (Sterling Hughes) On Fri, 2003-05-16 at 14:27, Adam Dickmeiss wrote: > On Fri, May 16, 2003 at 09:30:07AM -0400, Sterling Hughes wrote: > > On Fri, 2003-05-16 at 10:50, Adam Dickmeiss wrote: > > > With PHP5 as of today, a "clean" configure - with just > > > --with-apxs > > > compiles PHP5 with a bundled libxml2. That can't be right? > > > I have libxml2-dev installed. Do I really have to use > > > --without-bundle-libxml > > > to make a sane installation? > > > > > > > Yep. We default to using the bundle, just like we do with expat, or > > mysql, gd, or any other piece of software we bundle. > Ok, here we go again.. > > I still have not seen any good reason to bundle. You state at > http://edwardbear.org/blog/ that libxml2 is bundled because expat > is bundled. Is that the best argument? > > You want people to switch to a more "modern" interface. The > new interface apparently breaks BC in multiple ways (that's > not your fault, the tools are just different). How about unbundling > expat and let people choose with configure what of those > libs they want to use. That solution will both make configure > for PHP easier to use _and_ save you from updating the bundled > software (for security updates, for example). > Most of those ways can be fixed, the unfixables are relatively minor. As for unbundling, I've repeatedly said. Unbundle expat, and I'm fine with unbundling libxml2 (I speak only for myself though). The point is, if we only bundle expat, then expat becomes the defacto library, we can't deprecate it. People will develop both extensions and user space solutions for expat's functionality and expat doesn't currently doesn't come close to meeting our needs. -Sterling -- "Science is like sex: sometimes something useful comes out, but that is not the reason we are doing it." - Richard Feynman