Skip to content

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

@pd-eri

Description

@pd-eri

**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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions