PHP 4.0 Bug #7109 Updated: make install fails in pear subdirectory

From: Date: Wed, 11 Oct 2000 15:45:18 +0000
Subject: PHP 4.0 Bug #7109 Updated: make install fails in pear subdirectory
Groups: php.dev 
Request: Send a blank email to php-dev+get-34680@lists.php.net to get a copy of this message
ID: 7109 Updated by: chagenbu Reported By: tilmann@cs.dartmouth.edu Status: Open Bug Type: *Install and Config Assigned To: Comments: This fixes a problem that I was having with install-local-data. I'd like to commit the fix. Could someone verify that this is correct in the general case? Previous Comments: --------------------------------------------------------------------------- [2000-10-10 01:42:31] tilmann@cs.dartmouth.edu Setup: installing PHP 4.0.2 as a DSO for Apache 1.3.12 under Mac OS X Server 1.2 via the quick install. Apache 1.3.12 is under /usr/local/src/apache_1.3.12/; PHP 4.0.2 under /usr/local/src/php-4.0.2/ . Configure: ./configure --mysql=/usr/local --with-apxs=/usr/local/sbin/apxs Problem: "make install" (the last step in the quick install) fails in the pear subdirectory -- $$i gets the entire path, which causes $(peardir)/$$dir to be the wrong path. Solution: when "make install" breaks with the error, cd into the pear subdirectory, 'vi -c ":57" Makefile' and change the line as shown below: 55: for i in PEAR.php; do 56: dir=echo $$i|sed 's%[^/][^/]*$$%%'; 57: $(INSTALL_DATA) $$i $(peardir); 58: done; (ie, take out "$(builddir)/" and "/$$dir") Save and quit, and run "make install" from within the pear directory. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7109

« previous php.dev (#34680) next »