最新公開的tcpslice版本1.2a1(在github上發現)有一個錯誤,它期望8個字節作爲時間字段,但獲得16個(64位時)。這導致了錯誤:如何在mac 64位上從fedora發佈的源代碼安裝tcpslice?
tcpslice: problems finding end packet of file ./abc1234.bin
我有我的信息了此錯誤:https://bugzilla.redhat.com/show_bug.cgi?id=485670
這使我從這裏搶更新版本(1.2a3),並嘗試從源代碼編譯:http://pkgs.fedoraproject.org/repo/pkgs/tcpdump/tcpslice-1.2a3.tar.gz/。我覺得這或者是接近實際patch
然而,因爲它說我不能在我的Mac運行./configure這(理解)這一點:
checking build system type... configure: error: cannot guess build type; you must specify one
沒有一個放棄,和監守我不wnat切換到Linux的繼續deveolping我的包裝的腳本,我試圖編譯如下:
./configure --build=i686-pc-linux-gnu
這種配置和make'd!但是,當我運行新創建的tcpdump時,它的32位仍然給出相同的錯誤!
這是可能的,還有什麼其他--build類型可以用於x86_64位系統?沒有其他--build類型正在爲我編譯。我不知道如何找到可以接受的構建類型,和我目前referenceing這樣的:https://gcc.gnu.org/gcc-4.2/buildstat.html
編輯:我想沃倫·揚的建議here但libtoolize --force沒有重拍的config.guess,所以我手動下載「最新」 config.guess從鏈接this page捲曲。然而,現在./configure說:
checking build system type... Invalid configuration `x86_64-apple-darwin15.4.0': machine `x86_64-apple' not recognized
configure: error: /bin/sh ./config.sub x86_64-apple-darwin15.4.0 failed
我擰了嗎?或者,我可以嘗試羅納爾多,也很想默認x86_64的-build類型(我仍然無法找到):
checking build system type... Invalid configuration `x86_64': machine `x86_64' not recognized
configure: error: /bin/sh ./config.sub x86_64 failed