Gentoo Archives: gentoo-dev

From: Max Kalika <max+lists.gentoo-dev@×××××××××.edu>
To: gentoo-dev@g.o
Subject: [gentoo-dev] php and mod_php with xml support.
Date: Fri, 07 Feb 2003 17:41:43
1 Greetings,
3 Could someone shed some light as to why php's xml support is dependant on
4 libwww? PHP comes with a bundled expat library for xml parsing so no extra
5 packages are needed to enable it. However, the ebuilds for php and mod_php
6 have this:
8 xml? ( >=net-libs/libwww-5.3.2 >=app-text/sablotron-0.96 )
10 and later:
12 use libwww && myconf="${myconf} --with-xml" || myconf="${myconf}
13 --disable-xml"
15 This seems very counter-intuitive. In fact, libwww doesn't even seem to be
16 needed. Also making sablotron required if xml USE flag is set is not
17 entirely correct either. It is possible to have xml extension built in
18 without sablotron -- sounds like there needs to be another USE flag for
19 that?
21 Aside from this, what is the reason for allowing to turn xml off in the CLI
22 version? The xml module is required for the pear management system, and
23 since it doesn't require any external packages, there's no harm in not
24 disabling (it is enabled by default in php's build system).
26 ---max kalika
27 --max@×××××××××.edu
28 -lsit systems administrator
30 --
31 gentoo-dev@g.o mailing list