Bug#329415: [php-maint] Bug#329415: php-pear: /usr/bin/pear calls
'php' but should call /usr/bin/php
uwe at steinmann.cx
Thu Sep 22 05:33:08 UTC 2005
On Thu, Sep 22, 2005 at 04:30:05AM +1000, Adam Conrad wrote:
> Uwe Steinmann wrote:
> > /usr/bin/php calls 'php' unless one sets $PHP_PEAR_PHP_BIN. If
> > somebody like me has as second php installation in /usr/local/php5-cvs
> > whose bin directory is before /usr/bin in the PATH, /usr/bin/pear
> > will call /usr/local/php5-cvs/bin/php which may screw things up.
> In practice, one hopes that this shouldn't mess up (calling /usr/bin/php
> is already asking for either php4 or php5, this was intentional, and
> should always work, so I'd hope your php5-cvs would also work), but
> you're right that, in theory, we should only be calling packaged
> binaries. This will be fixed in the next upload.
It wasn't a practical problem until a rebuilt a debian pear package
whose. debian/rules calls '/usr/bin/pear install'. I ended up in
a packages containing files for /usr/local/php5-cvs.
MMK GmbH, Universitaetsstr. 11, 58097 Hagen
Uwe.Steinmann at mmk-hagen.de
Tel: +2331 840446 Fax: +2331 843920
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20050922/99735f6f/attachment.pgp
More information about the pkg-php-maint