Edit report at https://bugs.php.net/bug.php?id=48740&edit=1
ID: 48740 Comment by: kevin at twilio dot com Reported by: james dot cohen at digitalwindow dot com Summary: PHAR install fails when INSTALL_ROOT is not the final install location Status: No Feedback Type: Bug Package: PHAR related Operating System: CentOS release 5.3 PHP Version: 5.3.0 Assigned To: cellog Block user comment: N Private report: N New Comment: Hi, I'm still running into this issue while trying to compile PHP 5.4.10 on Centos 6.3. A (bad) workaround is to install it in the usual place, then install it to the INSTALL_ROOT directory. Previous Comments: ------------------------------------------------------------------------ [2009-07-31 01:00:01] 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". ------------------------------------------------------------------------ [2009-07-23 16:13:45] james dot cohen at digitalwindow dot com Hi - I've just tried to build it but the snapshot "php5.3-200907231430" doesn't appear to include this change. ------------------------------------------------------------------------ [2009-07-23 15:40:57] cel...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-07-23 15:33:47] cel...@php.net hi, that actually should be: --- php-5.3.0/ext/phar/Makefile.frag 2009-06-30 15:01:38.000000000 +0100 +++ php-5.3.0/ext/phar/Makefile.frag.symlink 2009-06-30 15:05:27.000000000 +0100 @@ -43,4 +43,4 @@ $(builddir)/phar.phar: $(builddir)/phar. install-pharcmd: pharcmd -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) $(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir) - $(LN_S) -f $(INSTALL_ROOT)$(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar + $(LN_S) -f $(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar Otherwise the symbolic link will be to any file phar.phar in the path and not specifically to our phar.phar ------------------------------------------------------------------------ [2009-06-30 14:16:48] james dot cohen at digitalwindow dot com --- php-5.3.0/ext/phar/Makefile.frag 2009-06-30 15:01:38.000000000 +0100 +++ php-5.3.0/ext/phar/Makefile.frag.symlink 2009-06-30 15:05:27.000000000 +0100 @@ -43,4 +43,4 @@ $(builddir)/phar.phar: $(builddir)/phar. install-pharcmd: pharcmd -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) $(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir) - $(LN_S) -f $(INSTALL_ROOT)$(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar + $(LN_S) -f phar.phar $(INSTALL_ROOT)$(bindir)/phar ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=48740 -- Edit this bug report at https://bugs.php.net/bug.php?id=48740&edit=1