Debian system offline installation iperf2

Download installation package address: http://xiazai.zol.com.cn/detail/33/329375.shtml
Installation process:

tar -xvf iperf.tar.gz
cd iperf
./configure
make
make install 



If you get an error configure: error: cannot guess build type; you must specify one , ./configurechange it to./configure --build=arm-linux

If the error redefinition of 'struct std::__is_integer<int> is reported, use Notepad to edit the file configure, ctrl+f to search for define bool int globally, and then comment out the following part:

#if test "$ac_cv_sizeof_bool" = 0 ; then
#  cat >>confdefs.h <<\_ACEOF
#define bool int
#_ACEOF

#fi

Guess you like

Origin blog.csdn.net/qq_41160739/article/details/124098392