#35780 [Fbk->Opn]: $INSTALL_ROOT confuses PEAR installer configuration
| From: | andre at tomt dot net | Date: | Thu, 22 Dec 2005 22:31:49 +0000 |
| Subject: | #35780 [Fbk->Opn]: $INSTALL_ROOT confuses PEAR installer configuration | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90908@lists.php.net to get a copy of this message | ||
ID: 35780
User updated by: andre at tomt dot net
Reported By: andre at tomt dot net
-Status: Feedback
+Status: Open
Bug Type: *Configuration Issues
Operating System: Linux (Debian sid/amd64)
PHP Version: 5.1.1
New Comment:
no change
Previous Comments:
------------------------------------------------------------------------
[2005-12-22 23:18:00] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2005-12-22 22:59:12] andre at tomt dot net
Description:
------------
When installing the PEAR installer and the base components as shipped
in the php tarball, using INSTALL_ROOT will confuse the pear
installation. INSTALL_ROOT gets prepended on the paths in the
configuration (pear.conf) and in the pear binary. This breaks
packaging.
Reproduce code:
---------------
./configure
make
make install-pear INSTALL_ROOT=/somewhere/else/php-pear
Now observe the "pear" shell script, and the pear.conf.
I can't recall this used to be a problem before PHP 5.1.
Expected result:
----------------
Not having INSTALL_ROOT prepended in pear config and in pear command.
Actual result:
--------------
INSTALL_ROOT prepended in pear config and in pear command.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35780&edit=1