HewlettPackard / netperf

Netperf is a benchmark that can be used to measure the performance of many different types of networking. It provides tests for both unidirectional throughput, and end-to-end latency.
MIT License
874 stars 187 forks source link

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

Open pd-eri opened 1 month ago

pd-eri commented 1 month ago

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