php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35780 $INSTALL_ROOT confuses PEAR installer configuration
Submitted: 2005-12-22 22:59 UTC Modified: 2006-01-10 01:00 UTC
From: andre at tomt dot net Assigned: cellog (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5CVS-2005-12-23 (snap) OS: Linux (Debian sid/amd64)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: andre at tomt dot net
New email:
PHP Version: OS:

 

 [2005-12-22 22:59 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-22 23:18 UTC] 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 23:31 UTC] andre at tomt dot net
no change
 [2005-12-22 23:44 UTC] sniper@php.net
Greg, can you fix this please? :)
 [2005-12-23 00:02 UTC] pajoye@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See http://pear.php.net/bugs/bug.php?id=6154
 [2006-01-02 07:21 UTC] cellog@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

although this resembles the issue opened at pear.php.net, it was slightly different, and so I am marking this as feedback.
 [2006-01-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC