Bug #21463 Daily Snapshot fails in compile - required file `zlib/Makefile.in' not found
Submitted: 6 Aug 2006 7:06 Modified: 29 Aug 2006 10:04
Reporter: Ronald Bradford Email Updates:
Status: Closed Impact on me:
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.1.12 OS:Linux (FC5)
Assigned to: Lenz Grimmer CPU Architecture:Any
Tags: compiling, innodb, zlib

[6 Aug 2006 7:06] Ronald Bradford
When downloading the recent 5.1.12 snapshots  2006080[123], the initial compile via standard BUILD script fails with the error "equired file `zlib/Makefile.in' not found"

Details of error;

++++ cd storage/innobase
++++ aclocal
++++ autoheader
++++ libtoolize --automake --force --copy
++++ automake --force --add-missing --copy
++++ autoconf
++++ aclocal
++++ autoheader
++++ libtoolize --automake --force
++++ automake --add-missing --force
configure.in:723: required file `zlib/Makefile.in' not found
++++ die 'Can'\''t execute automake'
++++ echo 'Can'\''t execute automake'
Can't execute automake
++++ exit 1

Details of problem first raised in forums at http://forums.mysql.com/read.php?117,106481,106481#msg-106481  but issue still exists

How to repeat:
wget http://downloads.mysql.com/snapshots/mysql-5.1/mysql-5.1.12-beta-nightly-20060803.tar.gz
tar xvfz mysql-5.1.12-beta-nightly-20060803.tar.gz
cd mysql-5.1.12-beta-nightly-20060803
./BUILD/compile-pentium-debug --prefix=/home/mysqldev/deploy

Suggested fix:
Comment from Lenz indicates that zlib is not included in snapshot when it should be.  

How does the build to verify a snapshot work before releasing if this is missing?
[6 Aug 2006 9:36] Kent Boortz
Please specify what versions of the tools used,
i.e. "<tool> --version" output from "automake",
"autoconf" and "libtool".

Also note that using the build script in the
BUILD directory is a "developer build". Unless
you are working with modifying source you are
to use the build prodedure outlined in


The idea with the GNU autotools commands "autoconf",
"automake" and "libtool" is to run it to create the
source tree to distribute with a portable build 
tree that don't need them.

But we are anyway interested to make the source
tree as portable as possible even when doing a
developer build, so we are interested in the
versions used of the GNU autotools to be able
to reproduce and correct the problem. And if
the tools used are corresponding to what is
specified in the user manual, this is a bug.
[6 Aug 2006 9:44] Ronald Bradford
I'm working with a new Fedora Core 5 install, with the lastest updates. Specific versions.

$ automake --version
automake (GNU automake) 1.9.6
$ autoconf --version
autoconf (GNU Autoconf) 2.59
$ libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
$ gcc --version
gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
$ gmake --version
GNU Make 3.80

It should be noted that a plain old configure/make/make install for 20060801 is successfull, given input to my environment being correctly configured.
[7 Aug 2006 9:54] Lenz Grimmer
FWIW, I changed the script that creates the daily snapshot to use BUILD/compile-dist again. This should make sure that zlib is included.
[7 Aug 2006 10:31] Hartmut Holzgraefe
The zlib dir is indeed missing from the snapshots,
this also leads to failures when using 

  configure --with-zlib-dir=bundled

so this issue is not only BUILD script related
[7 Aug 2006 12:32] Ronald Bradford
synopsis spelling typo
[7 Aug 2006 14:33] Magnus BlÄudd
Waiting for a new nightly snapshot
[29 Aug 2006 10:04] Mads Martin Joergensen
This have been fixed, since zlib is now included. We don't have snapshots ATM though--but that's due to test failures.
[5 Dec 2006 13:56] Lenz Grimmer
The daily snapshots are up again, please retest. I assume this issue is fixed in the meanwhile.
[5 Dec 2006 13:59] Lenz Grimmer
Looks like it's fixed in the last snapshot:


Please reopen, if it still fails.