[Pkg-gmagick-im-team] Bug#774951: fatal error: magick/MagickCore.h: No such file or directory

Vincent Fourmond fourmond at gmail.com
Thu Jan 15 11:44:33 UTC 2015


control: severity -1 normal
control: tag -1 wontfix


  Hello,

On Fri, Jan 9, 2015 at 1:19 PM, Mathieu Malaterre <malat at debian.org> wrote:
> Package: libmagickcore-dev
> Version: 8:6.8.9.9-3
> Severity: grave
>
> Sorry about the severity at this point in the freeze, but I think
> something went wrong with the `/usr/include/ImageMagick` symlink.
>
> Eg.
>
> On wheezy (see attached file):
> $ gcc -I/usr/include/ImageMagick t.c
> -> ok !
>
> On jessie:
>
> $ gcc -I/usr/include/ImageMagick  t.c
> t.c:1:31: fatal error: magick/MagickCore.h: No such file or directory
>  #include <magick/MagickCore.h>
>                                ^
> compilation terminated.
>
> Same goes for:
>
> $ gcc -I/usr/include/ImageMagick-6  t.c
> In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:29:0,
>                  from t.c:1:
> /usr/include/ImageMagick-6/magick/magick-config.h:21:38: fatal error:
> magick/magick-baseconfig.h: No such file or directory
>  #include "magick/magick-baseconfig.h"
>                                       ^
> compilation terminated.

  The main problem is that the manual specification of directories has
not been officially supported for a while. Use pkgconfig:

 ~ pkg-config --cflags ImageMagick
-fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-I/usr/include/x86_64-linux-gnu//ImageMagick-6
-I/usr/include/ImageMagick-6

  I'm tempted to close this bug, but I'm just tagging it wontfix for now.

  Cheers, and sorry for the inconvenience,

      Vincent



More information about the Pkg-gmagick-im-team mailing list