Page 1 of 1

Broken autotools scipts?

Posted: 26.11.2007, 13:39
by ni1s
Hello,

Running make -f Makefile.cvs on a recent CVS checkout produced this:

Code: Select all

This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** Creating acinclude.m4
*** Creating aclocal.m4
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
make[1]: *** [cvs] Error 1
make: *** [all] Error 2

This is with autoconf-2.61 and automake-1.10. According to Google, AM_PROG_MKDIR_P is obsolete so I guess a older version of some autotools program is needed, does anyone know what version that would be?

Posted: 27.11.2007, 08:48
by ni1s
Ah!
admin/detect-autoconf.sh appeares to be outdated.
Changing

Code: Select all

KDE_AUTOMAKE_VERS="-1.7 17 -1.6"

to

Code: Select all

KDE_AUTOMAKE_VERS="-1.10 -1.7 17 -1.6"

fixed it.