Autotool problem.

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
Riox
Posts: 13
Joined: February 18th, 2006, 6:34 pm

Autotool problem.

Post by Riox »

My environment:
Ubuntu 5.10
Automake 1.9.5
Autoconf 2.59

I have no problem compiling version 1.0.2 and 1.1.1.

But I get that output running autogen.sh on svn.

aclocal: configure.ac: 276: 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:438: FRIBIDI does not appear in AM_CONDITIONAL
src/Makefile.am:444: X11 does not appear in AM_CONDITIONAL
src/Makefile.am:448: GCC does not appear in AM_CONDITIONAL
src/Makefile.am:452: PREFSDIR does not appear in AM_CONDITIONAL
src/Makefile.am:459: STATIC does not appear in AM_CONDITIONAL
src/Makefile.am:470: SERVER does not appear in AM_CONDITIONAL
src/Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'
src/Makefile.am: installing `config/compile'
/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:446: `CFLAGS' is a user variable, you should not override it;
src/Makefile.am:446: use `AM_CFLAGS' instead.
src/Makefile.am:460: `LDFLAGS' is a user variable, you should not override it;
src/Makefile.am:460: use `AM_LDFLAGS' instead.
/usr/share/automake-1.9/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
src/Makefile.am:445: `CXXFLAGS' is a user variable, you should not override it;
src/Makefile.am:445: 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_MAINTAINER_MODE
configure.ac:50: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:93: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:276: error: possibly undefined macro: AM_PROG_CC_C_O
Riox
Posts: 13
Joined: February 18th, 2006, 6:34 pm

Post by Riox »

Ok, I fixed my problem. When I installed automake-1.9 it not overwrited the old version. So automake was still pointing to automake-1.4. I fixed that but I didnt know that it installed aclocal too, so aclocal was pointing to aclocal-1.4 and not aclocal-1.9. kkk, now it work.
2d games FTW
Post Reply