Bug #25533 Can't compile MySQL 5.0.33
Submitted: 10 Jan 2007 19:51 Modified: 4 Mar 2013 10:32
Reporter: Sebastian Nohn Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S4 (Feature request)
Version:5.0.33 OS:Any
Assigned to: CPU Architecture:Any

[10 Jan 2007 19:51] Sebastian Nohn
Description:
testing opteron ... ok
+++ make -k distclean
make: *** No rule to make target `distclean'.
+++ true
+++ /bin/rm -rf '*/.deps/*.P' config.cache innobase/config.cache bdb/build_unix/config.cache bdb/dist/autom4te.cache autom4te.cache innobase/autom4te.cache
+++ path=BUILD
+++ . BUILD/autorun.sh
++++ aclocal
aclocal: configure.in: 521: macro `AM_PROG_AS' not found in library
++++ die 'Can'\''t execute aclocal'
++++ echo 'Can'\''t execute aclocal'
Can't execute aclocal
++++ exit 1

How to repeat:
$ BUILD/compile-pentium
testing opteron ... ok
+++ make -k distclean
make: *** No rule to make target `distclean'.
+++ true
+++ /bin/rm -rf '*/.deps/*.P' config.cache innobase/config.cache bdb/build_unix/config.cache bdb/dist/autom4te.cache autom4te.cache innobase/autom4te.cache
+++ path=BUILD
+++ . BUILD/autorun.sh
++++ aclocal
aclocal: configure.in: 521: macro `AM_PROG_AS' not found in library
++++ die 'Can'\''t execute aclocal'
++++ echo 'Can'\''t execute aclocal'
Can't execute aclocal
++++ exit 1
[11 Jan 2007 8:07] Hartmut Holzgraefe
Hi Sebastian, 

which automake version are you using? 

As far as i can tell AM_PROG_AS should be available since automake 1.5, 
it definetly works with current 1.9 versions
[11 Jan 2007 8:18] Sebastian Nohn
$ automake --version
automake (GNU automake) 1.4-p6

Seems to be my fault however, how to specify other automake versions?

$ export AUTOMAKE=/usr/bin/automake-1.9

does not work
[12 Jan 2007 14:54] Sebastian Nohn
# apt-get remove automake1.4 make /usr/bin/automake be automake 1.9 => compile works.
[15 Jan 2007 13:28] Hartmut Holzgraefe
Feature request: make $AUTOMAKE, $AUTOMAKE_PREFIX, $AUTOMAKE_SUFFIX configurable as it is e.g. in 

ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.2.1.tar.bz2/libgcrypt-1.2.1/autogen.sh

see 

http://www.google.com/codesearch?hl=en&q=+AUTOMAKE+show:dGhJ33nntV4:muynO64ibbs:NuKrA5LI__...

for highlighted code (assuming this is a permanent link ...)
[4 Mar 2013 10:32] Yngve Svendsen
This request is moot in later versions of MySQL Server, where autotools are
no longer employed.