下载

https://github.com/LibtraceTeam/libtrace/releases

解压

进入目录

依赖

sudo apt install libpcap0.8-dev -y

automake
wget ftp://ftp.gnu.org/gnu/automake/automake-1.9.tar.gz
tar zxf automake-1.9.tar.gz
cd automake-1.9
./configure
make
make install

libtool
wget ftp://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz
tar zxf libtool-2.4.tar.gz
cd libtool-2.4
./configure
make
make install

sudo apt install flex -y

sudo apt install bison -y

wget https://research.wand.net.nz/software/wandio/wandio-1.0.4.tar.gz

./bootstrap.sh

autoheader \
&& aclocal \
&& libtoolize --ltdl --copy --force \
&& automake --add-missing --copy \
&& autoconf \
&& ./configure

make -j8

sudo make

sudo ldconfig

05-23 06:37