autotools trouble for version 1.1.13 on debian
Moderator: Forum Moderators
autotools trouble for version 1.1.13 on debian
Heh, I recently switched to Debian and am having some trouble getting wesnoth going from an SVN checkout. The 1.1.12 source archive compiled fine (I installed all the dependencies).
I did upgrade my automake to version 1.9 and changed the symbolic links to the new version, so I am using automake 1.9.
I checked out the revision number I found in the changelog for 1.1.13...
EDIT: I ran autogen.sh with automake 1.4 before updating automake - could that have corrupted anything?
I did upgrade my automake to version 1.9 and changed the symbolic links to the new version, so I am using automake 1.9.
I checked out the revision number I found in the changelog for 1.1.13...
Any ideas?# ./autogen.sh
aclocal: configure.ac: 245: macro `AM_PROG_CC_C_O' not found in library
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
doc/man/Makefile.am:5: GAME does not appear in AM_CONDITIONAL
doc/man/Makefile.am:9: SERVER does not appear in AM_CONDITIONAL
doc/man/Makefile.am:13: EDITOR does not appear in AM_CONDITIONAL
icons/Makefile.am:3: GNOME1 does not appear in AM_CONDITIONAL
icons/Makefile.am:10: GNOME2 does not appear in AM_CONDITIONAL
icons/Makefile.am:17: KDE does not appear in AM_CONDITIONAL
src/Makefile.am:5: GAME does not appear in AM_CONDITIONAL
src/Makefile.am:9: SERVER does not appear in AM_CONDITIONAL
src/Makefile.am:13: CAMPAIGNSERVER does not appear in AM_CONDITIONAL
src/Makefile.am:17: TOOLS does not appear in AM_CONDITIONAL
src/Makefile.am:21: EDITOR does not appear in AM_CONDITIONAL
src/Makefile.am:467: FRIBIDI does not appear in AM_CONDITIONAL
src/Makefile.am:473: X11 does not appear in AM_CONDITIONAL
src/Makefile.am:477: GCC does not appear in AM_CONDITIONAL
src/Makefile.am:481: PREFSDIR does not appear in AM_CONDITIONAL
src/Makefile.am:488: STATIC does not appear in AM_CONDITIONAL
src/Makefile.am:499: SERVER does not appear in AM_CONDITIONAL
src/Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
src/Makefile.am:475: `CFLAGS' is a user variable, you should not override it;
src/Makefile.am:475: use `AM_CFLAGS' instead.
src/Makefile.am:489: `LDFLAGS' is a user variable, you should not override it;
src/Makefile.am:489: use `AM_LDFLAGS' instead.
/usr/share/automake-1.9/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
src/Makefile.am:474: `CXXFLAGS' is a user variable, you should not override it;src/Makefile.am:474: use `AM_CXXFLAGS' instead.
Makefile.am:9: LITE does not appear in AM_CONDITIONAL
Makefile.am:44: INSTALLDATA does not appear in AM_CONDITIONAL
Makefile.am:55: DUMMYLOCALES does not appear in AM_CONDITIONAL
Makefile.am:65: TINYGUI does not appear in AM_CONDITIONAL
Makefile.am:86: INSTALLDATA does not appear in AM_CONDITIONAL
Makefile.am: required file `./NEWS' not found
Makefile.am: required file `./AUTHORS' not found
Makefile.am: required file `./ChangeLog' not found
configure.ac:48: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:49: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:92: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:245: error: possibly undefined macro: AM_PROG_CC_C_O
EDIT: I ran autogen.sh with automake 1.4 before updating automake - could that have corrupted anything?
Try some Multiplayer Scenarios / Campaigns
Do you also have a recent autoconf in use?
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!
autoconf 2.59a - there's no more recent version in the repos I'm using.
I also installed a package with an archive of autoconf macros, because it looked like it was missing macro definitions. But I'm still getting the same result.
I'd love to be able to use SVN to update to the latest version, and not download a tarball each time (although with 1.1.13 I've just used the xdelta
).
I also installed a package with an archive of autoconf macros, because it looked like it was missing macro definitions. But I'm still getting the same result.
I'd love to be able to use SVN to update to the latest version, and not download a tarball each time (although with 1.1.13 I've just used the xdelta

Try some Multiplayer Scenarios / Campaigns
You have two automakes installed, I'll bet
Do "dpkg -l | grep automake"
I bet you'll see two different automakes installed. Your alternatives probably points to the older one. All I needed to do was to remove the older version (1.4 for me) allowing "automake" to refer to the 1.9 installation.
I bet you'll see two different automakes installed. Your alternatives probably points to the older one. All I needed to do was to remove the older version (1.4 for me) allowing "automake" to refer to the 1.9 installation.
BTW the most recent version I've got are autoconf-2.61 and automake-1.10.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!