Bug #38840 Make Fails - Mac OS X Leopard 10.5.4
Submitted: 18 Aug 2008 3:56 Modified: 19 Aug 2008 22:06
Reporter: Alex C Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:5.0.51b & 5.0.67 OS:MacOS (10.5.4)
Assigned to: CPU Architecture:Any
Tags: make error

[18 Aug 2008 3:56] Alex C
Description:
I have been trying to fix this problem. Most of the time mysql will configure the way I want and exit with a status of 0. Then I head to make, and after a while of compiling, It says make[3]: nothing to be done for 'all-am'.

I have posted this in the forums too, but nothing came from it. Also, configuring with just ./configure still gives me that error during make.
Thank you!

How to repeat:
Try compiling on a fresh install of leo from a retail disk. Worked fine on my tiger upgraded to leo system, but not now on my fresh install.
[18 Aug 2008 5:36] Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on
how to report a bug at http://bugs.mysql.com/how-to-report.php

make[3]: nothing to be done for 'all-am'.
means all were compiled successfully and you can install binaries running `make install`
[18 Aug 2008 21:37] Alex C
The problem is that is the last command run and running make test fails.
[19 Aug 2008 6:00] Susanne Ebrecht
Many thanks for reporting a bug.

make[3]: nothing to be done for 'all-am'.

That is no error message. That is just a note that all-am had nothing to do because either there was nothing to do or it was done already before.
[19 Aug 2008 7:13] Sveta Smirnova
Thank you for the feedback.

> The problem is that is the last command run and running make test fails.

There should be failing tests. Output will look like:

$make test
cd mysql-test ; \
    /usr/bin/perl ./mysql-test-run.pl  
Logging: ./mysql-test-run.pl 
MySQL Version 5.0.70
Using ndbcluster when necessary, mysqld supports it
Setting mysqld to support SSL connections
Binaries are debug compiled
Using MTR_BUILD_THREAD      = 0
Using MASTER_MYPORT         = 9306
Using MASTER_MYPORT1        = 9307
Using SLAVE_MYPORT          = 9308
Using SLAVE_MYPORT1         = 9309
Using SLAVE_MYPORT2         = 9310
Using NDBCLUSTER_PORT       = 9311
Using IM_PORT               = 9313
Using IM_MYSQLD1_PORT       = 9314
Using IM_MYSQLD2_PORT       = 9315
Killing Possible Leftover Processes
Removing Stale Files
Creating Directories
Installing Master Database
Installing Master Database
Installing Slave1 Database
Installing Master Cluster
=======================================================
Starting Tests in the 'main' suite

TEST                           RESULT         TIME (ms)
-------------------------------------------------------

alias                          [ pass ]            104
almost_full                    [ pass ]            224
alter_table-big                [ skipped ]   Test need 'big-test' option
alter_table                    [ pass ]           1065
analyse                        [ pass ]            106
analyze                        [ pass ]             41
ansi                           [ pass ]             17
archive-big                    [ skipped ]   Test need 'big-test' option
archive                        [ pass ]           1089
archive_gis                    [ pass ]            209
auto_increment                 [ pass ]            230
backup                         [ pass ]            103
bdb-alter-table-1              [ skipped ]   Test requires: 'have_bdb'
bdb-alter-table-2              [ skipped ]   Test requires: 'have_bdb'
bdb-crash                      [ skipped ]   Test requires: 'have_bdb'
bdb-deadlock                   [ skipped ]   Test requires: 'have_bdb'
bdb                            [ skipped ]   Test requires: 'have_bdb'
bdb_cache                      [ skipped ]   Test requires: 'have_bdb'
bdb_gis                        [ skipped ]   Test requires: 'have_bdb'
bdb_notembedded                [ skipped ]   Test requires: 'have_bdb'
bench_count_distinct           [ pass ]             83
bigint                         [ pass ]            141
binary                         [ pass ]            129
binlog                         [ pass ]            547
binlog_index                   [ pass ]            148
binlog_innodb                  [ pass ]           1115
....
xxx                            [ fail ]

Please send us names of failed tests. (Marked with [fail])
[19 Aug 2008 22:06] Alex C
After about an hour of make, make test, it reported back with no errors.