Bug #802 probably a missing dependency in some Makefile
Submitted: 7 Jul 2003 7:48 Modified: 18 Jul 2003 3:06
Reporter: Guilhem Bichot Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:4.0 OS:Linux (Linux at least)
Assigned to: Lenz Grimmer CPU Architecture:Any

[7 Jul 2003 7:48] Guilhem Bichot
Description:
It looks like presenlty sql/mysqld does not depend on the code in bdb/, whereas it should.
Indeed in my bk tree I changed code in bdb/os/os_handle.c,
then I did a 'make' in the root directory, it rebuilt bdb/ but not any other directory. sql/mysqld was not touched.
So it's like my code change in bdb/ was ignored.
It's certainly wrong, because at first I had an assertion failure when running mysql-test-run, the assertion was in bdb/os/os_handle.c, and after the wrong rebuild, the test reported the same assertion whereas I had modified it.

How to repeat:
see description...

Suggested fix:
modify some Makefile
[18 Jul 2003 3:06] Lenz Grimmer
Sorry, I could not repeat that behaviour. I compiled the whole tree, touched bdb/os/os_handle.c to update the time stamp and ran "make" again. make properly
traversed into the "bdb" subdirectory and compiled the bdb tree again.

Are you sure that you ran "configure" with the "--with-berkeley-db" option? This
will make sure, that the "bdb" subdirectory will be added to sql_server_dirs in
the toplevel Makefile.