[php-maint] Bug#443524: Bug#443524: php-pear: manually installed PEAR modules shouldn't go to /usr/share/php

Olivier Berger olivier.berger at it-sudparis.eu
Fri Mar 18 13:13:52 UTC 2011


On Sun, Jan 27, 2008 at 03:09:07PM +0100, Gregory Colpart wrote:
> Hello,
> 
> On Fri, Jan 25, 2008 at 03:43:20PM +0100, Christian Hammers wrote:
> > 
> > After stumbling over the same bug I would proposed to simply set the
> > defaults in /etc/pear/pear.conf to /usr/local/ dirs. I did this for
> > my server with "pear config-set" and it seems to work.
> > 
> > Mixing Debian packages and pear installed libraries quickly turns
> > into a mess if the directories are not clearly separated!
> 
> I fully agree with this proposal however the main problem is that
> pear can't deal with two directories and it breaks some webapps
> setup (for example, function get_installed_pear_packages() in
> eGroupWare could be broken).
> 

Then shouldn't the packaging for these apps be fixed so that they depend from the right place where these PEAR libs would belong depending if they are packaged already or not ?

I think you may not expect that manually installed web apps can run on a Debian system unchanged if they depend on a mix of packaged and non-packaged PEAR dependencies.

In any case, this looks like a PHP policy that may need more debating than this just one bug ?

My 2 cents,





More information about the pkg-php-maint mailing list