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

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

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

Postby riclags » Mar 9th, '13, 17:53

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?
Last edited by riclags on Mar 10th, '13, 18:26, edited 1 time in total.
riclags
 
Posts: 17
Joined: Aug 13th, '12, 02:49

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

Postby djennings » Mar 10th, '13, 12:26

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
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

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

Postby doktor5000 » Mar 10th, '13, 15:43

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron