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

RHEL 8 - cannot build and install - multiple macro problems #82

Open
pd-eri opened this issue Oct 15, 2024 · 0 comments
Open

RHEL 8 - cannot build and install - multiple macro problems #82

pd-eri opened this issue Oct 15, 2024 · 0 comments

Comments

@pd-eri
Copy link

pd-eri commented Oct 15, 2024

**Hello trying to install netperf on:

Red Hat Enterprise Linux 8.10
automake noarch 1.16.1-8.el8**

$ autoconf
configure.ac:18: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:19: error: possibly undefined macro: AM_CONFIG_HEADER
configure.ac:63: error: possibly undefined macro: AC_DECL_H_ERRNO
configure.ac:64: error: possibly undefined macro: AC_STRUCT_SOCKADDR_STORAGE
configure.ac:67: error: possibly undefined macro: AC_CHECK_SA_LEN
configure.ac:99: error: possibly undefined macro: AM_CONDITIONAL

Saw a note on this: did not really help
./autogen.sh

$ autoreconf

configure.ac:67: error: possibly undefined macro: AC_CHECK_SA_LEN
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

Tried the m4_pattern_allow in the configure.ac no help

AC_HEADER_TIME
AC_HEADER_STDBOOL
m4_pattern_allow([AC_CHECK_SA_LEN])
AC_CHECK_SA_LEN(ac_cv_sockaddr_has_sa_len)

$ configure
./configure: line 5489: syntax error near unexpected token ac_cv_sockaddr_has_sa_len' ./configure: line 5489: AC_CHECK_SA_LEN(ac_cv_sockaddr_has_sa_len)'

How can I get this to compile successfully?

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

1 participant