需要在Ubuntu上更新GTK +(10.04)

Mea*_*ell 5 gtk ubuntu

尝试从源代码构建Wireshark,因为没有Linux安装程序,并且在运行configure脚本时出现此错误:

checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: GTK+ 2.4 or later isn't available, so Wireshark can't be compiled
Run Code Online (Sandbox Code Playgroud)

尝试运行以下命令,没有运气:

sudo apt-get update
sudo apt-get upgrade
Run Code Online (Sandbox Code Playgroud)

任何人都可以帮助我如何做到这一点?

提前致谢.

小智 5

这对我有用: apt-get install libgtk2.0-dev