Attempting to compile this code:
$ ./autogen.sh autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I common/m4 aclocal: error: couldn't open directory 'common/m4': No such file or directory autoreconf: aclocal failed with exit status: 1
It can be workarounded by adding m4 directory at common:
$ mkdir common/m4
Then it fails again with:
$ ./autogen.sh autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I common/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:48: error: required file 'common/Makefile.in' not found configure.ac:48: error: required file 'common/m4/Makefile.in' not found docs/Makefile.am:1: error: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL automake: error: cannot open < common/upload-doc.mak: No such file or directory autoreconf: automake failed with exit status: 1
Attempting to compile this code:
$ ./autogen.sh autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I common/m4 aclocal: error: couldn't open directory 'common/m4': No such file or directory autoreconf: aclocal failed with exit status: 1
It can be workarounded by adding m4 directory at common:
$ mkdir common/m4
Then it fails again with:$ ./autogen.sh autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 -I common/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:48: error: required file 'common/Makefile.in' not found configure.ac:48: error: required file 'common/m4/Makefile.in' not found docs/Makefile.am:1: error: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL automake: error: cannot open < common/upload-doc.mak: No such file or directory autoreconf: automake failed with exit status: 1