Problem with babl.h when building Gimp - with patch
Hi,
I'm building Gimp from latest GIT version. This failed in libgimpcolor
when
compiling gimpadaptivesupersample.c. The error
was:
gimpadaptivesupersample.c:21:23: fatal error: babl/babl.h: No such file
or
directory
Rather than using pkg-config, I had passed the BABL_CFLAGS environment
variable
when running autogen.sh, as suggested in configure
--help.
I fixed this by adding $(BABL_CFLAGS) to INCLUDES at line 507 of the
Makefile
in the libgimpcolor
directory.
This may be peculiar to my set up, but if it's useful, I have included a
patch
to
Makefile.am
Thanks for all your
work,
Jon.
From 0092746783f108883f5eb77f25213c36ed879680 Mon Sep 17 00:00:00
2001
From: Jon Crowe
Date: Fri, 24 May 2013 11:06:08
+0100
Subject: [PATCH] Added BABL_CFLAGS to
INCLUDES
---
libgimpcolor/Makefile.am | 1
+
1 file changed, 1
insertion(+)
diff --git a/libgimpcolor/Makefile.am
b/libgimpcolor/Makefile.am
index 20f43fa..306000e
100644
---
a/libgimpcolor/Makefile.am
+++
b/libgimpcolor/Makefile.am
@@ -53,6 +53,7 @@ AM_CPPFLAGS =
\
INCLUDES =
\
-I$(top_srcdir)
\
$(GEGL_CFLAGS)
\
+ $(BABL_CFLAGS)
\
$(CAIRO_CFLAGS)
\
$(GDK_PIXBUF_CFLAGS)
\
-I$(includedir)
--
1.8.1.2