Solution for error: Package `webkitgtk-3.0' not found...

Asked by Timo Reimerdes

When trying to compile postlers bzr branch on oneiric, even after passing ./waf configure, the following error shows when building:

error: Package `webkitgtk-3.0' not found in specified Vala API directories or GObject-Introspection GIR directories

causing the build process to abort.

Question information

Language:
English Edit question
Status:
Solved
For:
Postler Edit question
Assignee:
No assignee Edit question
Solved by:
Timo Reimerdes
Solved:
Last query:
Last reply:
Revision history for this message
Timo Reimerdes (timorei) said :
#1

The solution to this one as figured out together with MBarvian in irc:

cd /usr/share/vala-0.14/vapi
sudo cp webkit-1.0.deps webkitgtk-3.0.deps
sudo cp webkit-1.0.vapi webkitgtk-3.0.vapi
sudo vim webkitgtk-3.0.deps
change gtk-2,0 to gtk-3.0
change gtk+-2.0 to gtk+-3.0
save and quit

I expect anyone who is using a development checkout of an application like postler to be aware of the risks when editing system files like that. :)

Revision history for this message
Cris Dywan (kalikiana) said :
#2

I ended up committing the needed files to the repository, no changes to system files needed. There's no good in requiring everyone to figure this out even if this is a lame solution.