1、下载链接
Release pktgen-23.10.0: clang-format update · pktgen/Pktgen-DPDK · GitHub
2、解压后执行meson build,报app/meson.build:40:0: ERROR: Dependency "numa" not found, tried pkgconfig
4、安装cmake
cmake报错CMake Error: Could not find CMAKE_ROOT_vah101的博客-优快云博客
5、安装完cmake,再去pkt-gen执行meson build
6、将查找方式由dependency('numa', required: true)改为cc.find_library('numa', required: true),再次进入pkt-gen执行meson build,依赖的numa库成功找到
后面报的两个错误,doxygen和sphinx-build程序找不到问题,直接安装对应程序即可
sudo apt-get install doxygen
sudo apt-get install python3-sphinx