You are not logged in.
I am having trouble building some packages from the AUR with yaourt. So far I have had this error on gnome-packagekit and plymouth (regular and git).
Most recently trying to build plymouth:
make[5]: Entering directory `/tmp/yaourt-tmp-travis/aur-plymouth-git/src/plymouth-build/src/plugins/renderers/x11'
CC x11_la-plugin.lo
./plugin.c:49:21: fatal error: gtk/gtk.h: No such file or directory
I have no idea what provides gtk.h, something like yum's "whatprovides" option would be nice, but I'm not sure if that exists in pacman (reading the man page turned up nothing).
Any ideas where to go?
EDIT: Since posting this I have confirmed that gtk.h is present in /usr/include/gtk-2.0/gtk and have also tried this with makepkg instead of yaourt. I have also tried other packages, and it appears that this error comes up with any build that depends on gtk.h
EDIT2, and final: Resolved with the help of falconindy on #archlinux.
Last edited by panickedthumb (2011-01-23 05:54:50)
Offline
Offline
Right, but gtk what? I have gtk installed. I've looked through the package list and nothing sticks out, like gtk-devel or something to that effect that would have C header files.
Offline
Right, but gtk what? I have gtk installed. I've looked through the package list and nothing sticks out, like gtk-devel or something to that effect that would have C header files.
Remember to have gtk installed. You may be thinking of gtk2.
Last edited by cesura (2011-01-22 22:56:46)
Offline
You were certainly right about that. I had gtk2, not just plain gtk.
However, after installing gtk, the problem persists. I know in debian-land at least there would be a complement to gtk called libgtk-devel or something, but I'm not finding anything similar searching through packages on the arch website.
Offline
Offline
Fair enough, just tried it with makepkg, and I get the same error at the same place.
I have also confirmed that I have the gtk.h file present at /usr/include/gtk-2.0/gtk/gtk.h
Here is the exact place it is erroring out, with a few processes before, and all the text after the failure:
http://pastebin.com/rbvkVy5m
EDIT: that pastebin was from the yaourt output. This one is from makepkg: http://pastebin.com/T9ynYV4S
Last edited by panickedthumb (2011-01-23 01:04:02)
Offline
...the gtk2 dependency is correct...
Not necessarily. At least I think.
Both exist on my system. It depends on which you build with:
/usr/include/gtk-1.2/gtk/gtk.h
/usr/include/gtk-2.0/gtk/gtk.h
Offline
Please, help me in this problem. How was this problem resolved?
I'm sorry for my english.
Offline
Please, help me in this problem. How was this problem resolved?
I'm sorry for my english.
in most cases pkg-config is missing.
pacman -S base-devel
Give what you have. To someone, it may be better than you dare to think.
Offline
in most cases pkg-config is missing.
pacman -S base-devel
command 'pacman -S base-devel' reinstall pkg-config and some other packages. But nothing was emerge in /usr/include:
[root@kot_dymok /]# ls -l /usr/include/ | grep gtk
-rw-r--r-- 1 root root 1412 Nov 28 04:45 canberra-gtk.h
drwxr-xr-x 4 root root 4096 Jan 11 2010 gtk-1.2
drwxr-xr-x 4 root root 4096 Nov 15 22:29 gtk-2.0
drwxr-xr-x 2 root root 4096 Oct 22 2009 gtkhex
drwxr-xr-x 4 root root 4096 Jun 13 2009 gtkmathview
drwxr-xr-x 3 root root 4096 Nov 23 22:09 gtkmm-2.4
drwxr-xr-x 3 root root 4096 Nov 8 2009 gtkspell-2.0
drwxr-xr-x 3 root root 4096 Nov 15 22:29 gtk-unix-print-2.0
drwxr-xr-x 3 root root 4096 Feb 24 11:59 pygtk-2.0
[root@kot_dymok /]# ls -l /usr/include/ | grep gdk
drwxr-xr-x 3 root root 4096 Nov 23 22:09 gdkmm-2.4
drwxr-xr-x 4 root root 4096 Nov 6 03:58 gdk-pixbuf-2.0
I haven't 'gtk' and 'gdk' folder here.
If I make symbolic link /usr/include/gtk-2.0/gtk to /usr/include/gtk and link on /usr/include/gtk-2.0/gdk to /usr/include/gdk, I haven't 'gio' and 'glib' folder in /usr/include, only in /usr/include/glib-2.0. And even after this I haven't 'glibconfig.h' (anything) and some files in 'gdk' folder.
What are this files? And how take normal 'gtk' folder and 'gtk.h' file?
Offline
@Kot Dymok provide configure.log or config.log
Give what you have. To someone, it may be better than you dare to think.
Offline
What owned config.log? Stupid question, I knew...
Offline
What owned config.log? Stupid question, I knew...
It is in the same directory as the configure script.
Offline