5

I try to install gtk+-3.22.7.tar.gz,but after typing I am getting below error. Request help for same.

./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 !!!
HDJEMAI
  • 9,436
  • 46
  • 67
  • 93
FNSKOM
  • 51
  • 1
  • 1
  • 2

3 Answers3

8

To search:

$ dnf search gtk3*

To install:

$ sudo dnf install gtk3-devel

rolfedh
  • 251
  • 4
  • 13
6

Fedora 25 already provides GTK+ 3.22.2, which I believe should be more than enough for what you're trying to do. Just install the -devel package for GTK+ 3: gtk3-devel-3.22.2 using the DNF package manager.

See also this Fedora developper guideline for GTK+.

liberforce
  • 11,189
  • 37
  • 48
  • I have tried dnf install gtk3-devel-3.22.2 but getting error :Repository InstallMedia has no mirror or baseurl set. Error: Failed to synchronize cache for repo 'fedora' – FNSKOM Feb 13 '17 at 11:41
  • Then look for help on how to configure a distribution and install a package. The best you can do is ask on your distribution's forums. – liberforce Feb 14 '17 at 15:38
2

Just run this command:

sudo dnf install gtk3-devel
ahmnouira
  • 1,607
  • 13
  • 8