Bug #11680 5.0.7-beta build fails when using --without-server
Submitted: 1 Jul 2005 2:01 Modified: 30 Sep 2005 18:05
Reporter: Luke Hollins Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0.7-beta OS:Any (any)
Assigned to: Joerg Bruehe CPU Architecture:Any

[1 Jul 2005 2:01] Luke Hollins
Description:
After using --without-server option to configure, build fails in tests directory: 

gmake[2]: Entering directory `/usr/local/src/mysql-5.0.7-beta/tests'
gmake[2]: *** No rule to make target `../mysys/libmysys.a', needed by `mysql_client_test'.  Stop.

How to repeat:
use configure --without-server on 5.0.7-beta source

Suggested fix:
fix the dependency so the library the tests need get built or disable the building of the tests if --without-server is chosen
[1 Jul 2005 16:20] MySQL Verification Team
Verified on Slackware 10.1:

make[2]: *** No rule to make target `../mysys/libmysys.a', needed by `mysql_client_test'.  Stop.
make[2]: Leaving directory `/home/miguel/testcase/mysql-5.0.7-beta/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/miguel/testcase/mysql-5.0.7-beta'
make: *** [all] Error 2
miguel@hegel:~/testcase/mysql-5.0.7-beta$
[23 Aug 2005 18:25] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/28712
[25 Aug 2005 0:14] Jim Winstead
Fixed in 5.0.13.
[1 Sep 2005 0:21] Paul DuBois
Noted in 5.0.12 changelog. (This fix was moved to the
5.0.12 build clone.)
[16 Sep 2005 11:29] Joerg Bruehe
I have to correct / revoke the above entries:
1) The original fix worked in tests, but caused problems in the release process and had to be revoked.
2) This was not spotted for manual and announcement, so the claim of the bug to be fixed is wrong.
3) The final solution is not yet finished, so even 5.0.13 will still contain the problem.
I am sorry about the confusion, please accept my apologies.

I am now working on a better solution, but have no good ETA yet.
[30 Sep 2005 10:45] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/30559
[30 Sep 2005 13:06] Joerg Bruehe
Change pushed into 5.0.14-rc.
[30 Sep 2005 18:05] Paul DuBois
Noted in 5.0.14 changelog.