Page 1 of 1

[SOLVED] How to install the GTK+ & WebKit/GTK+ header files?

PostPosted: Mar 9th, '13, 17:53
by riclags
I am trying to compile surf but when I do the `make clean install` command, I am getting an error that GTK+ and Webkit headers are missing. I read the README file and it said that requirements are GTK+ and WebKit/GTK+ header files. How do I get those into Mageia 2?

Re: How do I install the GTK+ and WebKit/GTK+ header files?

PostPosted: Mar 10th, '13, 12:26
by djennings
Code: Select all
urpmi libwebkitgtk1.0-devel  libgtk+2.0-devel


If you are compiling for 64 bit use lib64 instead of lib
If you need gtk3 then use
Code: Select all
urpmi libwebkitgtk3.0-devel  libgtk+3.0-devel


-devel packages contain the header files.

Become familiar with urpmq to search for packages, and urpmf to search for files within packages
Code: Select all
man urpmq
man urpmf

Re: How do I install the GTK+ and WebKit/GTK+ header files?

PostPosted: Mar 10th, '13, 15:43
by doktor5000
djennings wrote:
Code: Select all
urpmi libwebkitgtk1.0-devel  libgtk+2.0-devel


If you are compiling for 64 bit use lib64 instead of lib

One can also use the virtual provide, which are arch-independent, an can hence be used on both 32bit and 64bit.

So one could also do
Code: Select all
urpmi gtk2-devel webkitgtk-devel