Bug #16984 Updated: make test refuses to run

From: Date: Fri, 03 May 2002 10:35:43 +0000
Subject: Bug #16984 Updated: make test refuses to run
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6822@lists.php.net to get a copy of this message
ID: 16984 Updated by: sander@php.net Reported By: matthew@devney.net -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: FreeBSD 4.5; Linux 2.4.19-pre6 PHP Version: 4.2.0 New Comment: The CLI is still experimental in 4.2.0. Make test requires the CLI, so this is known behaviour. It will be fixed in 4.3.0 when the CLI will be enabled anyway. Previous Comments: ------------------------------------------------------------------------ [2002-05-03 05:31:38] matthew@devney.net I have verified the problem on 2 different Linux-2.4.28 machines. The same error occurs regardless of whether I have used --enable-cli or not. ------------------------------------------------------------------------ [2002-05-03 05:09:15] matthew@devney.net # make test make: don't know how to make /usr/src/php-4.2.0/sapi/cli/php. Stop History: The first time I ran configure, I did: ./configure --with-mysql=/usr/local --enable-cli That build ran fine, and make test ran (though it failed just under half its tests.) I decided I didn't want the cli, so I did: # make clean # ./configure --with-mysql=/usr/local This time, the make finished, again with no errors of note, but the make test refuses to run with the error given above. After trying make distclean and rerunning a couple times, I finally rm -rf php-4.2.0 and untarred again, for a fresh build tree. Now, I get the same error, again referencing sapi/cli/php. It is worth noting that, on subsequent tries, if I include --enable-cli, make test will run; if I do not, it will not. This, despite a completely clean build tree (rm -rf and start over). I can only assume that it is placing the config.cache somewhere outside the build tree. Version 4.1.2 does not exhibit the same behaviour. Linux (2.4.19-pre6) has a similar error message: make: *** No rule to make target /home/matthew/src/php-4.2.0/sapi/cli/php', needed by test'. Stop. I assume these are differences between gmake and BSD make, both referencing the same problem. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16984&edit=1

« previous php.bugs (#6822) next »