Is using a different build tree deprecated for current cvs

From: Date: Sat, 05 Aug 2000 15:41:44 +0000
Subject: Is using a different build tree deprecated for current cvs
Groups: php.dev 
Request: Send a blank email to php-dev+get-27838@lists.php.net to get a copy of this message
According to the instructions on this page http://www.php.net/version4/cvs.php, The src tree after a CVS checkout of php4 and Zend should be as follows <some-root-dir>/php4 /Zend /TSRM A long time ago, I recollect Sascha mentioning that to compile out of CVS, you needed a different build tree and since then I have always compiled php4 cvs via a different build tree. Recently I have been having some problems as mentioned below. Rasmus wrote back to me saying that I should keep the src tree as follows <some-root-dir>/php4 /php4/Zend /php4/TSRM I did so and the problems went away. My question is, this is not what is indicated on the CVS instruction pages. And if you do create the tree as indicated by the CVS tree and then do a configure and make in the php4 directory this is what you get Making all in Zend make[1]: Entering directory `/usr/local/src/Zend' make[1]: *** No rule to make target `../config.status', needed by `Makefile'. Stop. make[1]: Leaving directory `/usr/local/src/Zend' make: *** [all-recursive] Error 1 Is building in a different build dir now deprecated ? Thanks, Yusuf ----- Forwarded message from Yusuf Goolamabbas <yusufg@outblaze.com> ----- Date: Thu, 3 Aug 00 11:56:23 HKT From: Yusuf Goolamabbas <yusufg@outblaze.com> To: php-install@lists.php.net Subject: phpextdist doesn't get copied into separate build directory Hi, I have the following CVS src tree for PHP4 /usr/local/src/php4 /Zend /TSRM I do a buildconf in /usr/local/src/php4 I have a separate build directory [have never got php to build within the same source tree (ie in php4)]. If somebody has figured it out, please let me know /usr/local/src/phpbuild I run the following configure command from /usr/local/src/phpbuild CFLAGS=-O2 ../php4/configure \ --with-apache=../apache_1.3.12 \ --prefix=/usr/local/site/php \ --with-ldap=/usr/local/site/ldap \ --with-db2=/usr/local/site/BerkeleyDB \ --with-gd=/usr/local/site/gd \ --with-mhash \ --with-mcrypt \ --enable-calendar \ --enable-track-vars \ --enable-magic-quotes \ --disable-debug \ --with-config-file-path=/usr/local/site and do a make ; make install This is what I get cp: phpextdist: No such file or directory make[2]: *** [install-programs] Error 1 make[2]: Leaving directory `/usr/local/src/phpbuild/pear' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/phpbuild/pear' make: *** [install-recursive] Error 1 Regards, Yusuf -- Yusuf Goolamabbas yusufg@outblaze.com ----- End forwarded message -----

« previous php.dev (#27838) next »