如何在fedora 25上安装GTK + -3.22.7

时间:2017-02-13 01:16:41

标签: gtk fedora-25

我尝试安装gtk + -3.22.7.ta​​r.gz,但输入后我收到以下错误。请求帮助。

./configure result :configure: error: Package requirements (glib-2.0 >= 2.49.4 atk >= 2.15.1 pango >= 1.37.3 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gdk-pixbuf-2.0 >= 2.30.0) were not met:

No package 'glib-2.0' found
No package 'atk' found
No package 'pango' found
No package 'cairo' found
No package 'cairo-gobject' found
No package 'gdk-pixbuf-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 BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
And then I type make but result : make: *** No targets specified and no makefile found.  Stop.Anyone Can Help me !!!

2 个答案:

答案 0 :(得分:3)

Fedora 25已经提供了GTK + 3.22.2,我认为这应该足以满足你的目标。只需使用DNF package manager安装GTK + 3的-devel包:gtk3-devel-3.22.2

另见Fedora developper guideline for GTK+

答案 1 :(得分:0)

搜索:

$ dnf search gtk3*

安装:

$ sudo dnf install gtk3-devel