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

你可能感兴趣的:(技术问题)