Bug #18568: PEAR installation does not honor INSTALL_ROOT

From: Date: Thu, 25 Jul 2002 16:16:13 +0000
Subject: Bug #18568: PEAR installation does not honor INSTALL_ROOT
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15206@lists.php.net to get a copy of this message
From: vogel@folz.de Operating system: Redhat 7.0 PHP version: 4CVS-2002-07-25 PHP Bug Type: Compile Failure Bug description: PEAR installation does not honor INSTALL_ROOT I reported this bug already as part of bug #14401. But when I compare snapshots php4-200207170600 (see #14401, important parts cited below) and todays php4-200207250000, there seems to be no work done to fix the PEAR install. The relevant parts of my reports to bug #14401: The PEAR installation fails right at it's start: $ make install INSTALL_ROOT=/var/tmp/php-root [/bin/sh libtool command omitted for brevity] Installing PHP SAPI module Installing shared extensions: /var/tmp/php-root/usr/lib/php4/ Installing PHP CLI binary: /var/tmp/php-root/usr/bin/ Installing PEAR environment: /var/tmp/php-root/usr/share/pear/ Warning: SAFE MODE Restriction in effect. The script whose uid is 503 is not allowed to access /usr/share owned by uid 0 in /home/vogel/rpm/BUILD/php4-200207170600/pear/System.php on line 235 This last message is repeated _many_ times, with some "Warning: version_compare() expects parameter 2" messages interspersed. I can reproduce this in various ways (i. e. building using rpm or doing the same "by hand"; changing configure options did not help in any way). [and later:] But what I did not find: How is "make" supposed to pass the INSTALL_ROOT variable on to the php scripts that it executes when the install-pear-installer and install-pear-packages targets are called? -- Edit bug report at http://bugs.php.net/?id=18568&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18568&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18568&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18568&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18568&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18568&r=support Expected behavior: http://bugs.php.net/fix.php?id=18568&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18568&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18568&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18568&r=globals

« previous php.bugs (#15206) next »