On Thu, May 08, 2003 at 05:29:29PM +0300, Zeev Suraski wrote:
> At 16:50 08/05/2003, Dan Kalowsky wrote:
> >On Thursday, May 8, 2003, at 08:02 AM, George Schlossnagle wrote:
> >
> >>I agree with Zeev on this. While bundling lack aesthetic appeal (to me),
> >>I think it is the only way to address possibly rapidly changing libxml
> >>changes, as well as providing support for systems which do not have
> >>libxml installed already.
> >
> >Isn't this the point of having your configure script, to ensure that a
> >supported version of an external library is in existence?
> >
> >I don't buy the argument for supporting systems without a needed external
> >library installed. There is plenty of documentation provided already on
> >how to configure your PHP build, and more importantly a configure script
> >to stop someone who hasn't read it from continuing.
> >Is it really the job of PHP to play sysadmin for unix install ABC?
>
> It's our job to make the installation of PHP as easy and not-time-consuming
> as it could possibly be. The whole "whose responsibility is this" approach
> is, IMHO, the wrong way to think about it. Requiring the sysadmin to read
> docs, bump into configure errors, install/configure additional libraries,
> does not fall in the category of being helpful or easy. Bundling it,
> does. PHP is not out there to win computer science awards of excellence,
> it's there to work and solve problems.
Sounds good. But you don't make it easier for them by bundling something
they already have..
> The obvious question that comes to mind is "where do we draw the
> line?" IMHO, XML is such a basic requirement that this particular case is
> a no brainer. I would be pretty aggressive when it comes to allowing
> additional bundles - it's no coincidence that we're bundling very few
> libraries, and it should stay that way, but built-in XML support should be
> one of them.
XML is such a basic requirement that it is available everywhere these
days. libxml is used by the gnome people (a lot). Do they bundle libxml2
with that. No. Of course not. libxml2 is a supported - moving target.
But it's not moving in a bad way. libxml2 maintainers have a stable
API, IMHO. The updates are: bug fixes _and_ enhancements which does not break
compatibility. We don't make people a favor by shipping an always out-of-date
libxml(2).
Note that for Windows, etc. I'm not against bundling a binary with it.
Those having unixes out there that does Not have libxml, they know
how to compile it. Those that cannot compile PHP on Windows and
link with the proper libxml2 should not even try to compile PHP
(not qualified to do so). They better get the Windows binary which
of course includes libxml2 and all other DLL's needed.
-- Adam
> >Please note though that while being against bundling, this does not mean I
> >am against the idea of fully supporting libxml.
>
> I was taking that for granted :)
>
> Zeev
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Dickmeiss mailto:adam@indexdata.dk http://www.indexdata.dk
Index Data T: +45 33410100 Mob.: 212 212 66