Ubuntu14.04源码安装wireshark-1.99.2


1. 安装的基本流程

参考wireshark官网上的User’s Guide
其实也不难~
解压后cd wireshark-1.99.2
$ ./configure
$ make
$ sudo make install
but./configure这步出了各种问题TAT
具体见2吧~
p.s. make这一步时间炒鸡炒鸡炒鸡长!耐心等着吧~
安装结束之后在wireshark-1.99.2目录下sudo wireshark就可以运行了~

此处输入图片的描述
此处输入图片的描述


2. ./configure中的问题

user's guide 里面说

The standard problems are that you do not have a required development package on your system or that the development package isn’t new enough. Note that installing a library package isn’t enough. You need to install its development package as well. configure will also fail if you do not have libpcap (at least the required include files) on your system.

所以就踏踏实实根据错误提示把该装的都装好吧~
装完再./configure

2.1 Qt is not available

所以就安装QT吧~$ sudo apt-get install libqt4-dev

2.2 GTK+ 3 is not available

安装GTK+3 $ sudo apt-get install libgtk-3-dev
或者根据Wireshark mailing list archives所写的也可以用gtk2 $ ./configure --with-gtk2,不过这个并没有亲测~

2.3 缺少libpcap

http://www.tcpdump.org/下载libpcap,解压。
$ ./configure
$ make
$ sudo make install

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

友情链接更多精彩内容