Bug #25961 BUILD/compile-pentium-max fails from 'make dist' due to missing zlib
Submitted: 31 Jan 2007 4:50 Modified: 29 Oct 2007 15:46
Reporter: Stewart Smith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1.16 OS:Linux (linux)
Assigned to: Kent Boortz CPU Architecture:Any

[31 Jan 2007 4:50] Stewart Smith
Description:
mysql@faith:~/mysql-5.1.16-beta$ ./BUILD/compile-pentium-max --prefix=/usr/local/mysql
testing pentium4 ... ok
+ make -k distclean
make: *** No rule to make target `distclean'.
+ true
+ /bin/rm -rf */.deps/*.P configure config.cache storage/*/configure storage/*/config.cache autom4te.cache storage/*/autom4te.cache
+ path=./BUILD
+ . ./BUILD/autorun.sh
+ [ -f /usr/bin/glibtoolize ]
+ LIBTOOLIZE=libtoolize
+ aclocal
+ autoheader
+ libtoolize --automake --force
+ automake --add-missing --force
configure.in:741: required file `zlib/Makefile.in' not found
+ die Can't execute automake
+ echo Can't execute automake
Can't execute automake
+ exit 1

How to repeat:
make dist on one machine, copy to another, try to build

Suggested fix:
include zlib in make dist
[1 Feb 2007 0:39] Kent Boortz
Did this work in your setup with versions before 5.1.16?

Could you please specify what version you use of autoconf,
automake and libtool?

Did you create the source TAR using the recommended
sequence below?

  BUILD/compile-dist && make dist
[1 Feb 2007 6:31] Stewart Smith
haven't really tried before...

machine doing 'make dist' did a ./BUILD/compile-amd64-max on Ubuntu 6.06

machine doing build from dist tarball is x86 Ubuntu 6.10 and running ./BUILD/compile-pentium-max
[5 Sep 2007 9:10] Kent Boortz
As this impact a large part of the build part of the
source, this is done in steps. In 5.1.23 all "base"
parts of the source is included in "make dist", 
independent on how you configure. Still all engines
has to be configured to be included in the source.
[29 Oct 2007 15:46] Paul DuBois
No changelog entry needed.