help with ./autogen failure
John Ralls
jralls at ceridwen.us
Tue May 13 00:36:48 EDT 2014
On May 12, 2014, at 9:09 PM, Anthony Della Cioppa <adellaci at sacoriver.net> wrote:
> This is what I did;
>
> git clonegit://github.com/Gnucash/gnucash.git
>
> sudo apt-get build-dep gnucash
>
> sudo apt-get install libtool swig git libgnomeui-dev xsltproc libxslt-dev doxygen
> and all suggested packages
>
> git checkout 2.6.3
>
> ./autogen.sh
>
> Details:
> Creating po/POTFILES.in ...
> Creating aclocal.m4 ...
> Running glib-gettextize --force --copy ...
> GnuCash note: Please ignore the output of glib-gettextize below!
> Copying file po/Makefile.in.in
>
> Please add the files
> codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
> progtest.m4
> from the /usr/local/share/aclocal directory to your autoconf macro directory
> or directly to your aclocal.m4 file.
> You will also need config.guess and config.sub, which you can get from
> ftp://ftp.gnu.org/pub/gnu/config/.
>
> GnuCash note: Please ignore the output of glib-gettextize above!
>
> Ensure aclocal.m4 is writable ...
> Ensure po/POTFILES.in is writable ...
> Running intltoolize --force --copy ...
> You should update your 'aclocal.m4' by running aclocal.
> Running libtoolize --force --copy ...
> libtoolize: putting auxiliary files in `.'.
> libtoolize: copying file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `macros'.
> libtoolize: copying file `macros/libtool.m4'
> libtoolize: copying file `macros/ltoptions.m4'
> libtoolize: copying file `macros/ltsugar.m4'
> libtoolize: copying file `macros/ltversion.m4'
> libtoolize: copying file `macros/lt~obsolete.m4'
> Running aclocal -I macros ...
> configure.ac:63: warning: AM_NLS is m4_require'd but not m4_defun'd
> macros/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
> macros/intltool.m4:234: AC_PROG_INTLTOOL is expanded from...
> configure.ac:63: the top level
> configure.ac:63: warning: AM_NLS is m4_require'd but not m4_defun'd
> macros/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
> macros/intltool.m4:234: AC_PROG_INTLTOOL is expanded from...
> configure.ac:63: the top level
> Running autoheader...
> configure.ac:63: warning: AM_NLS is m4_require'd but not m4_defun'd
> macros/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
> macros/intltool.m4:234: AC_PROG_INTLTOOL is expanded from...
> configure.ac:63: the top level
> Running automake --add-missing --gnu --warnings=no-portability ...
> configure.ac:63: warning: AM_NLS is m4_require'd but not m4_defun'd
> macros/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
> macros/intltool.m4:234: AC_PROG_INTLTOOL is expanded from...
> configure.ac:63: the top level
> Running autoconf ...
> configure.ac:63: warning: AM_NLS is m4_require'd but not m4_defun'd
> macros/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
> macros/intltool.m4:234: AC_PROG_INTLTOOL is expanded from...
> configure.ac:63: the top level
> configure:4799: error: possibly undefined macro: AM_NLS
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> **Error**: autoconf failed.
>
The required file is /usr/share/aclocal/nls.m4, provided in Ubuntu by the gettext package. Perhaps that's supposed to be part of the base system, but it doesn't seem to be a dependency in any of the obvious places, so apt-get build-dep gnucash seemingly doesn't find it. No matter, just apt-get install gettext and try to autogen gnucash again.
Regards,
John Ralls
More information about the gnucash-user
mailing list