iT邦幫忙

0

[nprobe] 源碼編譯失敗

  • 分享至 

  • xImage

請教? 諸位網友下列 nprobe 源碼在 CentOS7 環境下能否編譯成功!
因在 README 內容照著做卻卡在 make 無法成功!
能否高手指點該如何做?
敬請幫忙!

# uname -a
Linux tej-nprobe.tej.com.tw 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

# git clone git://brie.com/git/nprobe-ga

# ./autogen.sh
checking for GeoIP_record_by_ipnum_v6 in -lGeoIP... yes
--2021-11-22 10:38:02--  http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
Resolving www.maxmind.com (www.maxmind.com)... 104.17.215.67, 104.17.214.67, 2606:4700::6811:d643, ...
Connecting to www.maxmind.com (www.maxmind.com)|104.17.215.67|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently

# make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /usr/local/src/nprobe-ga/missing autoheader)
autoheader: warning: missing template: DEBUG
autoheader: Use AC_DEFINE([DEBUG], [], [Description])
autoheader: warning: missing template: HAVE_INT16_T
autoheader: warning: missing template: HAVE_INT32_T
autoheader: warning: missing template: HAVE_INT64_T
autoheader: warning: missing template: HAVE_INT8_T
autoheader: warning: missing template: HAVE_UINT64_T
autoheader: warning: missing template: HAVE_U_INT16_T
autoheader: warning: missing template: HAVE_U_INT32_T
autoheader: warning: missing template: HAVE_U_INT64_T
autoheader: warning: missing template: HAVE_U_INT8_T
make: *** [config.h.in] Error 1

ps:
因我有一時衝動網上訂購了 ntopng Enterprise L Bundle Linux (x64)
但雖有 nprobe 但與 ntopng 無法同時使用,也無法移到另一台主機測試.(它是鎖 systemID 和 MAC address)! 所以才上網找舊 source 嘗試編譯,但無法成功(在於避開 demo 限制! 現今只有 ntopng 有社群版 但 nprobe 無提供!)

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答