From: james dot cohen at digitalwindow dot com Operating system: CentOS release 5.3 PHP version: 5.3.0 PHP Bug Type: PHAR related Bug description: PHAR install fails when INSTALL_ROOT is not the final install location
Description: ------------ When you run `make install` to install PHAR to a location other than the final build location an error occurs. Building an RPM within a build root is a good example of when this might occur. The bin/phar symbolic link point will point to the build root rather than the install root. php-5.3.0/ext/phar/Makefile.frag Line 46 reads: $(LN_S) -f $(INSTALL_ROOT)$(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar To correct the bug the line should be modified to the following $(LN_S) -f phar.phar $(INSTALL_ROOT)$(bindir)/phar This should be safe as both are in the same directory ($(INSTALL_ROOT)$(bindir)/phar) -- Edit bug report at http://bugs.php.net/?id=48740&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48740&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48740&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48740&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48740&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48740&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48740&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48740&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48740&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48740&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48740&r=support Expected behavior: http://bugs.php.net/fix.php?id=48740&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48740&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48740&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48740&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48740&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48740&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48740&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48740&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48740&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48740&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48740&r=mysqlcfg