Closed Liberxue closed 2 years ago
I'll need to see configure
and config.log
. It sounds as though it cannot compile a simple C program. Do other programs compile?
What hardware is this?
I suspect this is M1 hardware which makes this a dup of #668
OK, Thank you for sparing the precious time to reply the issue I will continue to focus on #668
THX My husband
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
sudo brew reinstall autogen
./configure --disable-local-libopts --disable-libopts-install --prefix=/usr/local --disable-local-libopts
sudo make install -r
Warning: May need to run as root to get access to all network interfaces.
tcpreplay version: 4.3.4 (build git:v4.3.4-4-g0ca82e31)
Copyright 2013-2018 by Fred Klassen <tcpreplay at appneta dot com> - AppNeta
Copyright 2000-2012 by Aaron Turner <aturner at synfin dot net>
The entire Tcpreplay Suite is licensed under the GPLv3
Cache file supported: 04
Not compiled with libdnet.
Compiled against libpcap: 1.9.1
64 bit packet counters: enabled
Verbose printing via tcpdump: enabled
Packet editing: disabled
Fragroute engine: disabled
Injection method: bpf send()
Not compiled with netmap
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by tcpreplay configure 4.3.4, which was generated by GNU Autoconf 2.71. Invocation command line was
$ ./configure
---------
Platform.
---------
hostname = xxxxx.local uname -m = arm64 uname -r = 20.4.0 uname -s = Darwin uname -v = Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:41 PDT 2021; root:xnu-7195.101.2~1/RELEASE_ARM64_T8101
/usr/bin/uname -p = arm /bin/uname -X = unknown
/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:41 PDT 2021; root:xnu-7195.101.2~1/RELEASE_ARM64_T8101 Kernel configured for up to 8 processors. 8 processors are physically available. 8 processors are logically available. Processor type: arm64e (ARM64E) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 16.00 gigabytes Default processor set: 610 tasks, 3460 threads, 8 processors Load average: 2.49, Mach factor: 5.50 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /opt/homebrew/opt/sqlite/bin/ PATH: /opt/homebrew/opt/openssl@1.1/bin/ PATH: /opt/homebrew/opt/openjdk/bin/ PATH: /opt/homebrew/bin/ PATH: /opt/homebrew/sbin/ PATH: /usr/local/bin/ PATH: /usr/bin/ PATH: /bin/ PATH: /usr/sbin/ PATH: /sbin/
-----------
Core tests.
-----------
configure:5169: error: in
/Users/xxxx/Code/c/tcpreplay': configure:5171: error: C compiler cannot create executables See
config.log' for more details----------------
Cache variables.
----------------
ac_cv_build=aarch64-apple-darwin20.4.0 ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=aarch64-apple-darwin20.4.0 ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=awk ac_cv_prog_ac_ct_CC='/Library/Developer/CommandLineTools/usr/bin/clang -m64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk' ac_cv_prog_make_make_set=yes ac_cv_target=aarch64-apple-darwin20.4.0 am_cv_make_support_nested_variables=yes
-----------------
Output variables.
-----------------
ACLOCAL='${SHELL} '\''/Users/xxx/Code/c/tcpreplay/config/missing'\'' aclocal-1.16' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='/Library/Developer/CommandLineTools/usr/bin/ar' AUTOCONF='${SHELL} '\''/Users/xxx/Code/c/tcpreplay/config/missing'\'' autoconf' AUTOGEN='' AUTOHEADER='${SHELL} '\''/Users/xxx/Code/c/tcpreplay/config/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/Users/xxx/Code/c/tcpreplay/config/missing'\'' automake-1.16' AWK='awk' CC='/Library/Developer/CommandLineTools/usr/bin/clang -m64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk' CCDEPMODE='' CFLAGS='' COMPILE_FRAGROUTE_FALSE='' COMPILE_FRAGROUTE_TRUE='' COMPILE_NETMAP_FALSE='' COMPILE_NETMAP_TRUE='' COMPILE_TCPBRIDGE_FALSE='' COMPILE_TCPBRIDGE_TRUE='' COMPILE_TCPLIVEPLAY_FALSE='' COMPILE_TCPLIVEPLAY_TRUE='' CPP='' CPPFLAGS='' CROSS_ARCH='' CROSS_LD='' CUT='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='' DMALLOC_LIB='' DSYMUTIL='' DUMPBIN='' ECHO='' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='' ENABLE_OSX_FRAMEWORKS_FALSE='' ENABLE_OSX_FRAMEWORKS_TRUE='' ENABLE_TCPDUMP_FALSE='' ENABLE_TCPDUMP_TRUE='' EXEEXT='' FGREP='' GL_GENERATE_STDNORETURN_H_FALSE='' GL_GENERATE_STDNORETURN_H_TRUE='' GREP='' GROFF='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_LIBOPTS_FALSE='' INSTALL_LIBOPTS_TRUE='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='' LDFLAGS='' LDNETINC='' LDNETLIB='' LIBOBJS='' LIBOPTS_CFLAGS='' LIBOPTS_DIR='' LIBOPTS_LDADD='' LIBS='' LIBTOOL='/Library/Developer/CommandLineTools/usr/bin/libtool' LIPO='' LNAVLIB='' LNAV_CFLAGS='' LN_S='' LPCAPINC='' LPCAPLIB='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MACOSX_SDK_PATH='/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk' MAINT='' MAINTAINER_MODE_FALSE='#' MAINTAINER_MODE_TRUE='' MAKEINFO='${SHELL} '\''/Users/xxx/Code/c/tcpreplay/config/missing'\'' makeinfo' MANIFEST_TOOL='' MKDIR_P='./config/install-sh -c -d' NEED_LIBOPTS_FALSE='' NEED_LIBOPTS_TRUE='' NETMAPFLAGS='' NETMAPINC='' NETMAPINCDIR='' NETMAPUSERINC='' NM='/Library/Developer/CommandLineTools/usr/bin/nm' NMEDIT='' OBJDUMP='' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='tcpreplay' PACKAGE_BUGREPORT='https://github.com/appneta/tcpreplay/issues' PACKAGE_NAME='tcpreplay' PACKAGE_STRING='tcpreplay 4.3.4' PACKAGE_TARNAME='tcpreplay' PACKAGE_URL='http://tcpreplay.sourceforge.net/' PACKAGE_VERSION='4.3.4' PATH_SEPARATOR=':' PCAP_BPF_H_FILE='' PCAP_CONFIG='' POSIX_SHELL='' PRINTF='' RANLIB='/Library/Developer/CommandLineTools/usr/bin/ranlib' SED='' SET_MAKE='' SHELL='/bin/sh' STDNORETURN_H='' STRIP='/Library/Developer/CommandLineTools/usr/bin/strip' SYSTEM_STRLCPY_FALSE='' SYSTEM_STRLCPY_TRUE='' TCPREPLAY_RELEASE='1' TCPREPLAY_VERSION='4.3.4' VERSION='4.3.4' WORDS_BIGENDIAN_FALSE='' WORDS_BIGENDIAN_TRUE='' ac_ct_AR='' ac_ct_CC='/Library/Developer/CommandLineTools/usr/bin/clang -m64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk' ac_ct_CXX='' ac_ct_DUMPBIN='' amEXEEXT_FALSE='' am__EXEEXT_TRUE='' amfastdepCC_FALSE='' amfastdepCC_TRUE='' am__fastdepCXX_FALSE='' amfastdepCXX_TRUE='' aminclude='include' amisrc='' amleading_dot='.' am__nodep='_no' amquote='' amtar='$${TAR-tar} chof - "$$tardir"' amuntar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='aarch64-apple-darwin20.4.0' build_alias='' build_asan='' build_cpu='aarch64' build_os='darwin20.4.0' build_vendor='apple' datadir='${datarootdir}' datarootdir='${prefix}/share' debug_flag='' debug_run_time_flag='' depmod='' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' extra_debug_flag='' host='aarch64-apple-darwin20.4.0' host_alias='' host_cpu='aarch64' host_os='darwin20.4.0' host_vendor='apple' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' insmod='' install_sh='${SHELL} /Users/xxx/Code/c/tcpreplay/config/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' nic1='' nic2='' oldincludedir='/usr/include' pcncfg='' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' rmmod='' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='aarch64-apple-darwin20.4.0' target_alias='' target_cpu='aarch64' target_os='darwin20.4.0' target_vendor='apple' tcpdump_path='' timestamp_trace_flag=''
-----------
confdefs.h.
-----------
/ confdefs.h /
define PACKAGE_NAME "tcpreplay"
define PACKAGE_TARNAME "tcpreplay"
define PACKAGE_VERSION "4.3.4"
define PACKAGE_STRING "tcpreplay 4.3.4"
define PACKAGE_BUGREPORT "https://github.com/appneta/tcpreplay/issues"
define PACKAGE_URL "http://tcpreplay.sourceforge.net/"
define PACKAGE "tcpreplay"
define VERSION "4.3.4"
configure: exit 77
-----------
ERROR
-----------