GNU bug report logs - #7955
configure does not thoroughly test for ImageMagick includes

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 1 Feb 2011 20:31:02 UTC

Severity: minor

Found in version 24.0.50

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #24 received at 7955 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: joakim <at> verona.se
Cc: 7955 <at> debbugs.gnu.org
Subject: Re: patch for imagemagick header rename
Date: Fri, 11 Feb 2011 20:11:46 -0500
Seems fine on RHEL5. On RHEL4, build still fails.

configure says:

checking IMAGEMAGICK_CFLAGS...  
checking IMAGEMAGICK_LIBS... -lWand -lMagick  
checking for MagickExportImagePixels... no
checking wand/MagickWand.h usability... no
checking wand/MagickWand.h presence... no
checking for wand/MagickWand.h... no
  Does Emacs use imagemagick?                             yes

make says:

image.c: In function `imagemagick_load_image':
image.c:7521: warning: implicit declaration of function `MagickWandGenesis'
image.c:7525: warning: implicit declaration of function `MagickSetResolution'
image.c:7532: warning: implicit declaration of function `MagickPingImageBlob'
image.c:7560: warning: implicit declaration of function `AcquireExceptionInfo'
image.c:7560: warning: assignment makes pointer from integer without a cast
image.c:7725: warning: implicit declaration of function `PixelGetMagickColor'
image.c:7809: warning: implicit declaration of function `MagickWandTerminus'
image.c: In function `Fimagemagick_types':
image.c:7899: error: too many arguments to function `GetMagickList'
make[1]: *** [image.o] Error 1

/usr/include/magick/magick.h says:

 **GetMagickList(const char *,unsigned long *),


Looks like it may be best for configure to check for a minimum
imagemagick version.




This bug report was last modified 14 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.