lcms2.h not found correctly
Posted: 2015-10-17T11:38:50-07:00
started compiling with version 6.9.2-4, configure can not find the lcms2.h header correctly. The header located in /usr/include but configure locks only for /usr/include/lcms2
Ok, I can fix this by create a symlink and configure can find them, now in config/config.h it was defined as
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
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)