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

sean finney seanius at debian.org
Fri Mar 18 15:54:48 UTC 2011


hi guys,

On Fri, Mar 18, 2011 at 11:07:49PM +0800, Thomas Goirand wrote:
> > 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.
> 
> IMHO, the way to fix it, is to do these missing Debian packages. Hacking
> a PEAR Debian package is quite easy, if you only care that it works and
> if you don't look into having uploaded to Debian!

i think ideally, yes, but...

> Hacking with 2 PEAR directory will only lead with loads of issues, like
> one PEAR library depending on another and not being able to find it
> where it is expected...

if we provide pear/pecl commands for the local admin (which i hope
nobody argues we shouldn't), they should (a) work, and (b) not clobber/collide
with the packaging namespace.  so i think that kinda requires that we do have
seperate directories.

i don't think this is impossible to fix, most other languages packaged in
debian work this way... just nobody has cared enough to roll up their sleeves
and get it to work right with php (and maybe to figure out what "right" is in the
process, since we don't have this defined currently)


	sean





More information about the pkg-php-maint mailing list