Menu

#1550 Bootstrap: C::B requires automake 1.13 or newer.

Undefined
open
nobody
None
Patch
2 days ago
2 days ago
No

Hello,
after long time, I refreshed my sources of C::B and I tried to build them, but bootstrap script failed to refresh the autotools scripts.
This is the error:

configure.ac:27: error: possibly undefined macro: AC_CONFIG_MACRO_DIRS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

The AC_CONFIG_MACRO_DIRS has been introduced into automake 1.13, but it seems that it is using an older version, although I have installed up to automake 1.18.
After a little check to bootstrap script, I did this patch:

Index: bootstrap
===================================================================
--- bootstrap   (revision 13718)
+++ bootstrap   (working copy)
@@ -19,7 +19,7 @@
 mkdir -p m4

 # Deal with some gentoo-specific issues
-WANT_AUTOMAKE='1.11 1.9 1.8 1.7' #latest of these is chosen or default if none hits
+WANT_AUTOMAKE='1.13 1.11 1.9 1.8 1.7' #latest of these is chosen or default if none hits
 export WANT_AUTOMAKE
 WANT_AUTOCONF='2.5'
 export WANT_AUTOCONF

After that, the problem has been solved and bootstrap worked again as expected.

Sincerely,

Carlo Bramini.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.