Attempting to build with autoconf yields multiple warnings:
configure.ac:8: warning: The macro AC_CONFIG_HEADER' is obsolete.
configure.ac:8: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:8: the top level
configure.ac:17: warning: The macroAC_HEADER_STDC' is obsolete.
configure.ac:17: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:17: the top level
configure.ac:26: warning: The macro AC_HEADER_TIME' is obsolete.
configure.ac:26: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:26: the top level
configure.ac:34: warning: The macroAC_TYPE_SIGNAL' is obsolete.
configure.ac:34: You should run autoupdate.
./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
configure.ac:34: the top level
configure.ac:42: warning: AC_OUTPUT should be used without arguments.
configure.ac:42: You should run autoupdate.
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Is there an expected version of autoconf for this patch? I built with autoconf 2.71
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have added the files config.guess and config.sub, however even with the missing files this has multiple build issues on my system.
autoconf reports the following errors:
configure.ac:8: warning: The macro AC_CONFIG_HEADER' is obsolete.
configure.ac:8: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:8: the top level
configure.ac:17: warning: The macroAC_HEADER_STDC' is obsolete.
configure.ac:17: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:17: the top level
configure.ac:26: warning: The macro AC_HEADER_TIME' is obsolete.
configure.ac:26: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:26: the top level
configure.ac:34: warning: The macroAC_TYPE_SIGNAL' is obsolete.
configure.ac:34: You should run autoupdate.
./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
configure.ac:34: the top level
configure.ac:42: warning: AC_OUTPUT should be used without arguments.
configure.ac:42: You should run autoupdate.
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
After running autoupdate, autoconf still has one outstanding error:
configure.ac:17: warning: The preprocessor macro STDC_HEADERS' is obsolete.
configure.ac:17: Except in unusual embedded environments, you can safely include all
configure.ac:17: ISO C90 headers unconditionally.
configure.ac:34: warning: Update your code to rely only on HAVE_SYS_TIME_H,
configure.ac:34: then remove this warning and the obsolete code below it.
configure.ac:34: All current systems provide time.h; it need not be checked for.
configure.ac:34: Not all systems provide sys/time.h, but those that do, all allow
configure.ac:34: you to include it and time.h simultaneously.
configure.ac:55: warning: your code may safely assume C89 semantics that RETSIGTYPE is void.
configure.ac:55: Remove this warning and theAC_CACHE_CHECK' when you adjust the code.
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Running automake yielded errors, after running aclocal and automake --add-missing, automake runs cleanly.
Please pull branch autoconf_ticket4 and confirm that the changes look OK.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On my system, running autoreconf -f -i results in:
configure.ac:17: warning: The preprocessor macro STDC_HEADERS' is obsolete.
configure.ac:17: Except in unusual embedded environments, you can safely
include all
configure.ac:17: ISO C90 headers unconditionally.
configure.ac:34: warning: Update your code to rely only on HAVE_SYS_TIME_H,
configure.ac:34: then remove this warning and the obsolete code below it.
configure.ac:34: All current systems provide time.h; it need not be checked
for.
configure.ac:34: Not all systems provide sys/time.h, but those that do, all
allow
configure.ac:34: you to include it and time.h simultaneously.
configure.ac:55: warning: your code may safely assume C89 semantics that
RETSIGTYPE is void.
configure.ac:55: Remove this warning and theAC_CACHE_CHECK' when you
adjust the code.
configure.ac:11: installing './compile'
configure.ac:52: installing './config.guess'
configure.ac:52: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
Status: pending Milestone: 1.0 Created: Sun Jul 14, 2024 05:59 PM UTC by Ahmed El-Mahmoudy Last Updated: Wed Jul 17, 2024 08:14 AM UTC Owner: Guy Hutchison Attachments:
The binary created by the automake process does not have the correct behavior. After building the tests in tests_and_examples/install.tst should pass without messages, but the automake version has multiple errors.
To reproduce, build using the automake system, change path to CVER in inst_tst.sh to:
CVER="../../src/cver -q "
And run test with ./inst_tst.sh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Attempting to build with autoconf yields multiple warnings:
configure.ac:8: warning: The macro
AC_CONFIG_HEADER' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:8: the top level configure.ac:17: warning: The macro
AC_HEADER_STDC' is obsolete.configure.ac:17: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:17: the top level
configure.ac:26: warning: The macro
AC_HEADER_TIME' is obsolete. configure.ac:26: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:26: the top level configure.ac:34: warning: The macro
AC_TYPE_SIGNAL' is obsolete.configure.ac:34: You should run autoupdate.
./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
configure.ac:34: the top level
configure.ac:42: warning: AC_OUTPUT should be used without arguments.
configure.ac:42: You should run autoupdate.
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Is there an expected version of autoconf for this patch? I built with autoconf 2.71
autoconf 2.71 here too. Maybe you need automake too, here I use automake 1.16
Build log can be found on: https://salsa.debian.org/electronics-team/gplcver/-/jobs/5979175/raw
I have added the files config.guess and config.sub, however even with the missing files this has multiple build issues on my system.
autoconf reports the following errors:
configure.ac:8: warning: The macro
AC_CONFIG_HEADER' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:8: the top level configure.ac:17: warning: The macro
AC_HEADER_STDC' is obsolete.configure.ac:17: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:17: the top level
configure.ac:26: warning: The macro
AC_HEADER_TIME' is obsolete. configure.ac:26: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:26: the top level configure.ac:34: warning: The macro
AC_TYPE_SIGNAL' is obsolete.configure.ac:34: You should run autoupdate.
./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
configure.ac:34: the top level
configure.ac:42: warning: AC_OUTPUT should be used without arguments.
configure.ac:42: You should run autoupdate.
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
After running autoupdate, autoconf still has one outstanding error:
configure.ac:17: warning: The preprocessor macro
STDC_HEADERS' is obsolete. configure.ac:17: Except in unusual embedded environments, you can safely include all configure.ac:17: ISO C90 headers unconditionally. configure.ac:34: warning: Update your code to rely only on HAVE_SYS_TIME_H, configure.ac:34: then remove this warning and the obsolete code below it. configure.ac:34: All current systems provide time.h; it need not be checked for. configure.ac:34: Not all systems provide sys/time.h, but those that do, all allow configure.ac:34: you to include it and time.h simultaneously. configure.ac:55: warning: your code may safely assume C89 semantics that RETSIGTYPE is void. configure.ac:55: Remove this warning and the
AC_CACHE_CHECK' when you adjust the code.configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Running automake yielded errors, after running aclocal and automake --add-missing, automake runs cleanly.
Please pull branch autoconf_ticket4 and confirm that the changes look OK.
All this shouldn't be needed, do you run: autoreconf -f -i ?
On my system, running autoreconf -f -i results in:
configure.ac:17: warning: The preprocessor macro
STDC_HEADERS' is obsolete. configure.ac:17: Except in unusual embedded environments, you can safely include all configure.ac:17: ISO C90 headers unconditionally. configure.ac:34: warning: Update your code to rely only on HAVE_SYS_TIME_H, configure.ac:34: then remove this warning and the obsolete code below it. configure.ac:34: All current systems provide time.h; it need not be checked for. configure.ac:34: Not all systems provide sys/time.h, but those that do, all allow configure.ac:34: you to include it and time.h simultaneously. configure.ac:55: warning: your code may safely assume C89 semantics that RETSIGTYPE is void. configure.ac:55: Remove this warning and the
AC_CACHE_CHECK' when youadjust the code.
configure.ac:11: installing './compile'
configure.ac:52: installing './config.guess'
configure.ac:52: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
After that ./configure and make builds OK.
On Tue, Jul 23, 2024 at 5:20 PM Ahmed El-Mahmoudy aelmahmoudy@users.sourceforge.net wrote:
Related
Issues: #4
The binary created by the automake process does not have the correct behavior. After building the tests in tests_and_examples/install.tst should pass without messages, but the automake version has multiple errors.
To reproduce, build using the automake system, change path to CVER in inst_tst.sh to:
CVER="../../src/cver -q "
And run test with ./inst_tst.sh