Skip Menu |

This queue is for tickets about the Gimp CPAN distribution.

Report information
The Basics
Id: 78416
Status: resolved
Priority: 0/
Queue: Gimp

People
Owner: ETJ [...] cpan.org
Requestors: salsaman [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.2pre1
Fixed in: 2.3



Subject: Compilation fails with header errors
Compilation fails with glib 2.32 with errors like: In file included from Gimp.xs:4:0: /usr/include/gimp-2.0/libgimp/gimpexport.h:23:2: error: #error "Only <libgimp/gimpui.h> can be included directly." I fixed this by changing the following lines: extra.c, line 14 -> change to #include <libgimpwidgets/gimpwidgets.h> Gimp.xs, line 4: change to #include <libgimp/gimpui.h> Finally, the compilation was missing some include directories, I had to manually include: make CC="gcc -I/usr/include/gtk-2.0/ -I/usr/include/pango-1.0/ -I/usr/lib64/gtk-2.0/include/ -I/usr/include/atk-1.0/" (somewhere you are missing a pkg-config --cflags gtk+-2.0)
Thanks for this. Sorted for 2.3001.