php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16984 make test refuses to run
Submitted: 2002-05-03 05:09 UTC Modified: 2002-05-03 06:35 UTC
Votes:3
Avg. Score:3.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: matthew at devney dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.0 OS: FreeBSD 4.5; Linux 2.4.19-pre6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: matthew at devney dot net
New email:
PHP Version: OS:

 

 [2002-05-03 05:09 UTC] matthew at devney dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-03 05:31 UTC] matthew at devney dot 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 06:35 UTC] sander@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Dec 27 07:00:01 2025 UTC