From: [EMAIL PROTECTED] Operating system: FreeBSD 4.5; Linux 2.4.19-pre6 PHP version: 4.2.0 PHP Bug Type: Compile Failure Bug description: make test refuses to run
# 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 bug report at http://bugs.php.net/?id=16984&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16984&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16984&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16984&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16984&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16984&r=support Expected behavior: http://bugs.php.net/fix.php?id=16984&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16984&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16984&r=submittedtwice
