Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support/document how to run autoreconf -f -i #94

Open
ametzler opened this issue Apr 7, 2024 · 1 comment
Open

support/document how to run autoreconf -f -i #94

ametzler opened this issue Apr 7, 2024 · 1 comment

Comments

@ametzler
Copy link

ametzler commented Apr 7, 2024

Hello,
updating autotools for mlterm does not work out of the box, the minimal working way I found was

 env AUTOMAKE=true AUTOHEADER=true \
  autom4te_buildauxdir=/usr/share/libtool/build-aux/ \
  autoreconf  -f -i . baselib encodefilter

Specifically autoheader needs to be disabled to avoid

autoheader: warning: missing template: CALLOC_CHECK_OVERFLOW
autoheader: warning: Use AC_DEFINE([CALLOC_CHECK_OVERFLOW], [], [Description])
autoheader: warning: missing template: HAVE_GNU_SOURCE
autoheader: warning: missing template: HAVE_SYS_BITYPES_H
autoreconf: error: /usr/bin/autoheader failed with exit status: 1

and automake to avoid

automake: error: no 'Makefile.am' found for any configure output
autoreconf: error: automake failed with exit status: 1

and setting autom4te_buildauxdir is the needed because automake cannot run which causes

configure.in: error: required file 'compile' not found
configure.in: error: required file 'missing' not found

It would be nice if there either was a simpler way or if it was documented.

TIA, cu Andreas

@hramrach
Copy link
Contributor

I don't think automake and autoheader are used, that's why they fail. At the very least for automake the lack of Makefile.am should make that obvious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants