Error building cwiid from AUR: missing gtk.h
Hi,
I've been trying to install cwiid without success and I was wondering if somebody can help me figure the problem out.
Here is the output of makepkg: pastebin.
The first fatal error is the following:
support.c:15:21: fatal error: gtk/gtk.h: No such file or directory
However, I'm pretty sure I have gtk installed (I found a file at /usr/include/gtk-2.0/gtk/gtk.h).
Can someone tell me what I'm doing wrong?
Thanks
-- Edit --
There was something wrong with my install of gdk-pixbuf2. Reinstalling the package fixed everything.
Thanks everyone.
Edited 22 Oct 2010. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 100% up
- Kind
- Text
- ID
- dv2nv
7 comments
I posted an updated PKGBUILD here: http://aur.pastebin.com/v9Wz7WSc . See if it helps.
I tried your PKGBUILD but I got the same errors.
I don't believe it's related to python 2 vs 3 errors (which is what your PKGBUILD seems to fix), as this error has been bugging me since before the switch a few weeks back.
I think something is wrong w/ your gtk installation... because you are missing the cflags for gtk in the gcc compiler invocation (and hence why you are getting the gtk.h can't be found errors). So how the configure script works is it runs pkg-config --cflags gtk+-2.0 to get the include paths for gtk and puts this in the cwiid-0.6.00/wmgui/Makefile. I'd start by checking if that Makefile does in fact include the paths to the header files. I'd then check that pkg-config does in fact generate the appropriate paths... if not, you may just need to reinstall gtk and possibly pkg-config. Anyway good luck. Consider checking in irc if your problems persist.
It sounds to me like it's looking for it in /usr/include/gtk/gtk.h rather than in gtk-2.0/*. It's kludgey, but you could try mkdir gtk then ln -s /usr/include/gtk-2.0/gtk/gtk.h /usr/include/gtk/gtk.h.
It turned out there was a problem with gdk-pixbuf.
Reinstalling the package fixed it.
Cool. Glad you got it to work. I actually noticed this post because I'd had my own problems when trying to get cwiid to work on my system. :)