FS#22198 - [gdk-pixbuf2] [gtk2] gdk headers are in the wrong place
Attached to Project:
Arch Linux
Opened by Robert de Jager (blob) - Thursday, 23 December 2010, 11:48 GMT
Last edited by Jan de Groot (JGC) - Thursday, 23 December 2010, 14:46 GMT
Opened by Robert de Jager (blob) - Thursday, 23 December 2010, 11:48 GMT
Last edited by Jan de Groot (JGC) - Thursday, 23 December 2010, 14:46 GMT
|
Details
I'm trying to compile something that includes
/usr/include/gtk-2.0/gdk/gdkpixbuf.h, which fails because
both /usr/include/gtk-2.0/gdk/gdkpixbuf.h and everything in
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf tries to include
headers in /usr/include/gdk-pixbuf, which doesn't exist.
I worked around the problem by symlinking: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf to /usr/include/gdk-pixbuf and /usr/include/gdk-pixbuf-2.0/gdk-pixbuf-xlib to /usr/include/gdk-pixbuf-xlib This is of course a bit of a dirty solution, maybe these headers in the packages themselves need some sed operations |
This task depends upon
pkg-config --cflags gdk-pixbuf-2.0