daemonize icon indicating copy to clipboard operation
daemonize copied to clipboard

Autoreconf will fail when calling autoheader on Linux system

Open hosiet opened this issue 7 years ago • 9 comments

% autoreconf --install --verbose --force
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
autoheader: warning: missing template: HAVE_BASENAME
autoheader: Use AC_DEFINE([HAVE_BASENAME], [], [Description])
autoheader: warning: missing template: HAVE_FLOCK
autoheader: warning: missing template: HAVE_SETENV
autoreconf: /usr/bin/autoheader failed with exit status: 1

Is there any suggestions to fix this problem?

hosiet avatar Feb 14 '18 05:02 hosiet

Not off the top of my head. Might be an autoconf version mismatch. I'll have to look into it.

bmc avatar Feb 14 '18 18:02 bmc

Just FYI, I am using the latest Autotools toolchain as provided by Debian unstable.

hosiet avatar Feb 14 '18 19:02 hosiet

Yeah, pretty sure that's not the (version of the) toolchain I used when I originally developed this thing.

bmc avatar Feb 16 '18 05:02 bmc

Okay. So could you please dig a little bit more into it and make sure we could properly run autoreconf against contemporary Autotools toolchain?

Thanks!

hosiet avatar Feb 16 '18 05:02 hosiet

I'll get to it when I can. I have a day job. :-)

bmc avatar Feb 16 '18 05:02 bmc

Hi @bmc , is there any updates for this issue?

hosiet avatar May 23 '18 08:05 hosiet

Hi @bmc , is there any updates for this issue?

hosiet avatar Jul 26 '18 01:07 hosiet

Hi @bmc , is there any updates for this issue?

hosiet avatar Nov 20 '18 18:11 hosiet

Note that there's a workaround to this issue:

make distclean
rm -rf autom4te.cache configure
autoconf
make

bmc avatar Nov 26 '18 16:11 bmc