[php-maint] Bug#443524: Bug#443524: your mail

Ondřej Surý ondrej at sury.org
Fri Mar 18 13:37:30 UTC 2011


It's not that easy.

PEAR doesn't have support for multiple directories, so if you change
the *_dir to /usr/local/share/php/.. then you have basically lost all
packages installed in /usr/share/php.

# pear config-show | grep _dir | grep share/php
PEAR documentation directory   doc_dir          /usr/share/php/doc
PEAR directory                 php_dir          /usr/share/php
PEAR configuration file        cfg_dir          /usr/share/php/cfg
PEAR data directory            data_dir         /usr/share/php/data
PEAR test directory            test_dir         /usr/share/php/test
PEAR www files directory       www_dir          /usr/share/php/htdocs

# pear list
Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.3.7   stable
Console_Getopt   1.2.3   stable
PEAR             1.9.1   stable
Structures_Graph 1.0.3   stable
XML_Util         1.2.1   stable

# pear config-set doc_dir          /usr/local/share/php/doc
# pear config-set php_dir          /usr/local/share/php
# pear config-set cfg_dir          /usr/local/share/php/cfg
# pear config-set data_dir         /usr/local/share/php/data
# pear config-set test_dir         /usr/local/share/php/test
# pear config-set www_dir          /usr/local/share/php/htdocs
[...]

# pear list
(no packages installed from channel pear.php.net)

# apt-get install php-net-ping
# pear list
(no packages installed from channel pear.php.net)


On Fri, Mar 18, 2011 at 14:11, Olivier Berger
<olivier.berger at it-sudparis.eu> wrote:
> On Fri, Mar 18, 2011 at 10:44:11AM +0100, Ondřej Surý wrote:
>> forwarded 443524 http://pear.php.net/bugs/bug.php?id=18372
>> thank you
>>
>
> How can this be a problem of upstream, since the Debian packagers can change the path as suggested in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443524#21 ?
>
> I'm not sure I understand your reasoning here.
>
> Care to elaborate more ?
>
> Thanks in advance.
>
> Best regards,
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint



-- 
Ondřej Surý <ondrej at sury.org>





More information about the pkg-php-maint mailing list