wireshark centos编译问题处理

在centos系统下,“libffi-dev” 改为“libffi-devel


GTK+编译过程中出现问题,一般通过配置-“devel”即可安装响应的软件包。


对于atk atk-bridge2.0 not found 的问题,yum install at-spi2-atk*即可解决。


There are the depandency problem and the library I install to solve the problem:

  • glib-2.40.0

    problem

    configure: error: * Working zlib library and headers not found *

    solve: sudo apt-get install ruby sudo apt-get install zlib1g-dev

    problem

    configure: error: Package requirements (libffi >= 3.0.0) were not met:

    solve sudo apt-get install libffi-dev


  • atk-2.12.0

    no


  • gdk-pixbuf-2.30.8

    problem

    configure: WARNING: *** TIFF loader will not be built (TIFF library not found)`

    solve sudo apt-get install libtiff4-dev

    problem

    configure: WARNING: * PNG loader will not be built (PNG library not found)*

    configure: WARNING: * PNG loader will not be built (PNG header file not found) * ````

    solve sudo apt-get install libpng-dev


  • gobject-introspection-1.40.0

    problem

    configure: error: flex not found but required

    solve sudo apt-get install flex

    problem

    configure: error: bison not found but required

    solve sudo apt-get install bison

    problem

    configure: error: Python headers not found

    solve sudo apt-get install python-dev


  • pango-1.36.5

    problem

    configure: error: *** Could not enable any backends.

    solve sudo apt-get install libcairo-dev sudo apt-get install libcairomm-1.0-dev

    What's more, I also install HarfBuzz . I download the source file http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.22.tar.bz2 and compile it.


  • gtk+-3.12.2

    problem

    configure: error: *** XInput2 extension not found. Check 'config.log' for more details.

    solve sudo apt-get install libXi-dev

    problem

    configure: error: Package requirements (atk atk-bridge-2.0) were not met:

    No package 'atk-bridge-2.0' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

    Alternatively, you may set the environment variables ATK_CFLAGS and ATK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

    solve sudo apt-get install libatk-bridge2.0-dev

    problem

    Couldn't find include 'GdkPixbuf-2.0.gir' (search path: ['../gdk', '/usr/share/gnome/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/local/share/gir-1.0']) make[4]: * [Gdk-3.0.gir] Error 1 make[4]: Leaving directory /home/simowce/GTK/gtk+-3.12.2/gdk' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/home/simowce/GTK/gtk+-3.12.2/gdk' make[2]: * [all] Error 2 make[2]: Leaving directory /home/simowce/GTK/gtk+-3.12.2/gdk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/simowce/GTK/gtk+-3.12.2' make: *** [all] Error 2`

    solve sudo apt-get install gobject-introspection

    What' s more, I also install gdk-pixbuf from the source file from HERE.

    problem

    Couldn't find include 'Atk-1.0.gir'

    solve

    To solve this problem, I download ATK-2.14.0 from http://ftp.gnome.org/pub/gnome/sources/atk/2.14/atk-2.14.0.tar.xz.

    Then, I build it by using the listed command:

    ./configure --prefix=/usr make sudo amek install

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值