Ok, I can fix this by create a symlink and configure can find them, now in config/config.h it was defined as
- /* Define if you have the <lcms2/lcms2.h> header file. */
#define HAVE_LCMS2_LCMS2_H 1
- #if defined(MAGICKCORE_LCMS_DELEGATE)
#if defined(MAGICKCORE_HAVE_LCMS_LCMS2_H)
#include <lcms/lcms2.h>
them same mistake in version 6.9.1-10
I am going back to 9.8.9-8, configure found the correct header in /usr/include, but in config/config.h and magick/property.c it was the same mistake
this patch solved this
Code: Select all
--- magick/property.c.orig 2015-10-17 17:54:09.767928830 +0200
+++ magick/property.c 2015-10-17 17:54:32.635928244 +0200
@@ -81,8 +81,8 @@
#include "magick/version.h"
#include "magick/xml-tree.h"
#if defined(MAGICKCORE_LCMS_DELEGATE)
-#if defined(MAGICKCORE_HAVE_LCMS_LCMS2_H)
-#include <lcms/lcms2.h>
+#if defined(MAGICKCORE_HAVE_LCMS2_LCMS2_H)
+#include <lcms2/lcms2.h>
#elif defined(MAGICKCORE_HAVE_LCMS2_H)
#include "lcms2.h"
#elif defined(MAGICKCORE_HAVE_LCMS_LCMS_H)