Re: Interesting dependecies

From: Date: Wed, 06 Dec 2006 16:23:19 +0000
Subject: Re: Interesting dependecies
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-26820@lists.php.net to get a copy of this message
On 12/6/06, Andrey Hristov <php@hristov.com> wrote:
Hi Ilia, Ilia Alshanetsky wrote: There really should be no reason for count() to "require" SPL, it should definitely be possible to compile php with --disable-all and no other flags, with perhaps an exception for ICU for obvious reasons. ext/standard/array.o(.text+0x6c2): In function `zif_count': /home/andrey/dev/6/ext/standard/array.c:316: undefined reference to `spl_ce_Countable'
make clean
On 6-Dec-06, at 11:00 AM, Andrey Hristov wrote:
Hi, for the sake of saving time during development, especially in the linking phase I decided to disable few extensions. In HEAD --disable-all is kind of borked, PHP won't compile afterwards, missing ICU enabled probably. Complains about unicode stuff. So, no more --disable-all. Let's remove XML support because it's not needed in this case, maybe some people also don't use XML. '--disable-xml' \ '--disable-libxml' \ '--disable-xmlreader' \ '--disable-xmlwriter' \ '--disable-dom' \ Now, SPL complains => --disable-spl. As a next step I can't build ext/standard (count relies on SPL). Maybe it's time to remove the options for disabling XML. OTOH, with disabled Reflection, CLI fails to build. So it's time to enable XML :) You may safely ignore this email message. Andrey
Ilia Alshanetsky Andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#26820) next »