博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ubuntu下的wireshark编译安装
阅读量:2188 次
发布时间:2019-05-02

本文共 1325 字,大约阅读时间需要 4 分钟。

   我安装的环境是Ubuntu10.04,期间遇到一个问题,下面的两篇文章没有提到,是有关libgtk2.0-dev的。请查看http://chaoyang.blog.ustc.edu.cn/index.php/archives/133。

    有一篇很好的文章:http://blog.csdn.net/cumirror/article/details/4694283, 谢谢作者,作者辛苦。

    下面这篇文章转自:  http://blog.csdn.net/dingpeng1978/article/details/6224073,谢谢作者,作者辛苦。

在ubuntu 10.04下进行安装wireshark的安装步骤和方法,供大家参考。

安装编译工具:
  $sudo apt-get install build-essential
  为了成功编译Wireshark,您需要安装GTK+的开发文件和GLib库(libraries)。
  $sudo apt-get install libgtk2.0-dev libglib2.0-dev
  安装Checkinstall以便管理您系统中直接由源代码编译安装的软件。
  $sudo apt-get install checkinstall
wireshark源码下载地址:http://www.wireshark.org/download.html(页面中的source code)
下载后的文件名:wireshark-1.44.tar.bz2
cd到文件目录解压:$tar -xvf wireshark-1.4.4.tar.bz2
$cd wireshark-1.4.4
编译安装命令如下:
$./configure
$make
$sudo make install
其中make编译时间会比较长,这样下来就基本安装了。
进行./configure编译过程中出现问题如下:
———————————————————————————————————
问题1:
./configure执行到最后出错
checking for perl… /usr/bin/perl
checking for bison… no
checking for byacc… no
checking for yacc… no
configure: error: I couldn’t find yacc (or bison or …); make sure it’s installed and in your path
./configure执行到最后出错 checking for perl… /usr/bin/perl checking for bison… no checking for byacc… no checking for yacc… no configure: error: I couldn’t find yacc (or bison or …); make sure it’s installed and in your path
解决办法:
sudo apt-get install flex bison
你可能感兴趣的文章
java操作cookie 实现两周内自动登录
查看>>
Tomcat 7优化前及优化后的性能对比
查看>>
Java Guava中的函数式编程讲解
查看>>
Eclipse Memory Analyzer 使用技巧
查看>>
tomcat连接超时
查看>>
谈谈编程思想
查看>>
iOS MapKit导航及地理转码辅助类
查看>>
检测iOS的网络可用性并打开网络设置
查看>>
简单封装FMDB操作sqlite的模板
查看>>
iOS开发中Instruments的用法
查看>>
iOS常用宏定义
查看>>
什么是ActiveRecord
查看>>
有道词典for mac在Mac OS X 10.9不能取词
查看>>
关于“团队建设”的反思
查看>>
利用jekyll在github中搭建博客
查看>>
Windows7中IIS简单安装与配置(详细图解)
查看>>
linux基本命令
查看>>
BlockQueue 生产消费 不需要判断阻塞唤醒条件
查看>>
强引用 软引用 弱引用 虚引用
查看>>
数据类型 java转换
查看>>