Bug #44120 | autogen.sh failure on mac (configure.in line 143) | ||
---|---|---|---|
Submitted: | 7 Apr 2009 1:26 | Modified: | 3 Jun 2009 14:53 |
Reporter: | John David Duncan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Proxy: Install/Config | Severity: | S3 (Non-critical) |
Version: | bzr rev 646 | OS: | MacOS (10.5.6 intel) |
Assigned to: | CPU Architecture: | Any |
[7 Apr 2009 1:26]
John David Duncan
[7 Apr 2009 7:19]
Sveta Smirnova
Thank you for the report. Which version of automake do you have?
[7 Apr 2009 15:07]
John David Duncan
automake (GNU automake) 1.10
[7 Apr 2009 21:40]
Sveta Smirnova
Thank you for the feedback. Please update automake to version 1.10.2, try with it and inform if problem still exists.
[7 Apr 2009 22:07]
John David Duncan
Still seems to be a problem: sam:mysql-proxy jdd$ AUTOMAKE=automake-1.10.2 sh autogen.sh autogen.sh: running `glibtoolize --copy --force' autogen.sh: running `aclocal -I m4' autogen.sh: running `autoheader' autogen.sh: running `automake-1.10.2 --add-missing --copy' autogen.sh: running `autoconf' configure.in:143: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
[14 Apr 2009 8:40]
Sveta Smirnova
Thank you for the feedback. I could repeat described behavior only with old autotools. Please check your setup. In my env: autoconf - 2.61 m4 - 1.4.6 libtool - 1.5.25 automake - 1.10.2
[14 May 2009 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[3 Jun 2009 14:53]
Kay Roepke
On Mac OS X the default autotools are not suitable to compile MySQL Proxy. You will have to use the ones from MacPorts and then call autogen.sh with: ACLOCAL_FLAGS="-I/opt/local/share/aclocal" sh autogen.sh (assuming you installed MacPorts to its default location)
[17 Jul 2009 5:09]
Adrienne Felto
What should ACLOCAL_FLAGS be set to if you have upgraded these tools through means other than MacPorts? I can get autogen.sh to run just fine with my set of upgraded tools -- but then ./configure fails on PKG_CHECK_MODULES because ACLOCAL_FLAGS needs to be set.