编译安装
linux环境
ubuntu 14.04 LTS
前提安装gcc gawk
git下载nDPI源码
git clone https://github.com/ntop/nDPI.git
【DPI】nDPI 开源工程搭建编译运行
cd nDPI 目录
./autogen.sh
自动生成配置,会出现一系列错误,解决如下:
【DPI】nDPI 开源工程搭建编译运行
【DPI】nDPI 开源工程搭建编译运行
至此开始autogen
【DPI】nDPI 开源工程搭建编译运行
【DPI】nDPI 开源工程搭建编译运行
【DPI】nDPI 开源工程搭建编译运行
解决问题,安装libpcap-dev
【DPI】nDPI 开源工程搭建编译运行
再一次autogen
【DPI】nDPI 开源工程搭建编译运行
成功了
configure配置
【DPI】nDPI 开源工程搭建编译运行
make 编译安装
【DPI】nDPI 开源工程搭建编译运行
进入example目录下
【DPI】nDPI 开源工程搭建编译运行
因为上面源码根目录的make已经包括了example的make了,所以这里不用再次make了,如果想尝试,可以先make clean然后make

ndpiReader运行
【DPI】nDPI 开源工程搭建编译运行


相关文章:

  • 2021-06-27
  • 2021-06-03
  • 2021-11-17
  • 2022-12-23
  • 2021-10-19
  • 2021-04-10
  • 2021-09-28
  • 2021-11-22
猜你喜欢
  • 2021-10-20
  • 2022-12-23
  • 2021-09-08
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案