Date: Wed, 30 Jun 2004 13:22:50 +0900 From: Hye-Shik Chang <perky@i18n.org> To: Alexander Nedotsukov <bland@FreeBSD.org> Cc: Michael Nottebrock <michaelnottebrock@gmx.net> Subject: Re: A question about dependencies Message-ID: <20040630042250.GA96217@i18n.org> In-Reply-To: <40E23B78.7030908@FreeBSD.org> References: <40E0F356.8030603@earthlink.net> <200406291817.09503.michaelnottebrock@gmx.net> <opsac64vvs9aq2h7@mezz> <200406291852.54678.michaelnottebrock@gmx.net> <40E23B78.7030908@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 30, 2004 at 01:03:04PM +0900, Alexander Nedotsukov wrote: > Michael Nottebrock wrote: > > > >Yes, but this is a buildtime dependency. Python is not needed by libxml2 > >or libxslt at runtime, so there should be no RUN_DEPENDS on it. > > > By default libxml2/xslt installs two components C library and Python > bindings. Python is an inpterpreter wich is *run-time* required to use > bindings mentioned above. Moreother if python will hit API breakage (.py > file format change whatever else) run-time dependency cearly show that > those bindings outdated and need to be updated. So everyting good as it > is now. > Peahps port split for C library and bindings (py-libxml2/xslt) proposed > by perky@ will make things better. > There's yet another bad scenario if we just drop runtime dependency. 1. python 2.3 is installed. 2. libxml2 is installed over it. 3. python 2.3 is upgraded to python 2.4. 4. although libxml2 is installed, python won't be able to import libxml2 module because site directory is changed[1] and ABI for extension modules is also incompatible between python 2.3 and 2.4. [1] $PREFIX/lib/python2.3/site-packages -> $PREFIX/lib/python2.4/site-packages Hye-Shik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040630042250.GA96217>