# Interesting dependecies

- Thread: https://externals.io/message/26817
- Original archive: https://news-web.php.net/php.internals/26817
- Started by Andrey Hristov on 2006-12-06T16:00:59+00:00
- Messages: 5
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #26817 — Andrey Hristov — 2006-12-06T16:00:59+00:00

URL: https://externals.io/message/26817#26817

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

---

## #26818 — Ilia Alshanetsky — 2006-12-06T16:07:52+00:00

URL: https://externals.io/message/26817#26818 · In reply to: #26817

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.




>  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

---

## #26819 — Andrey Hristov — 2006-12-06T16:15:16+00:00

URL: https://externals.io/message/26817#26819 · In reply to: #26818

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'

> 
> 
> 
> > […]
> 
> Ilia Alshanetsky
> 

Andrey

---

## #26820 — Hannes Magnusson — 2006-12-06T16:23:19+00:00

URL: https://externals.io/message/26817#26820 · In reply to: #26819

>  Hi Ilia,
> Ilia Alshanetsky wrote:
> > […]
>
> 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

>
> > […]
>
> Andrey

---

## #26821 — Antony Dovgal — 2006-12-06T16:26:21+00:00

URL: https://externals.io/message/26817#26821 · In reply to: #26819

>  Hi Ilia,
> Ilia Alshanetsky wrote:
> > […]
> 
> 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` helps.

-- 
Wbr, 
Antony Dovgal
