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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#7955: closed (configure does not thoroughly test for
 ImageMagick includes)
Date: Tue, 12 Apr 2011 03:57:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Apr 2011 23:56:18 -0400
with message-id <lowrj0p1gd.fsf <at> fencepost.gnu.org>
and subject line Re: bug#7955: patch for imagemagick header rename
has caused the GNU bug report #7955,
regarding configure does not thoroughly test for ImageMagick includes
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
7955: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7955
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: configure does not thoroughly test for ImageMagick includes
Date: Tue, 01 Feb 2011 15:38:37 -0500
Package: emacs
Version: 24.0.50
Severity: minor

I tried to build the current trunk on a RHEL 4.8 system.
This has ImageMagick 6.0.7 installed.
configure decided that ImageMagick was usable:

  checking for Wand... yes
  checking IMAGEMAGICK_CFLAGS...  
  checking IMAGEMAGICK_LIBS... -lWand -lMagick  
  checking for MagickExportImagePixels... no
  [...]
  Does Emacs use imagemagick?                             yes

However, the build failed because of this:

  image.c:7455:29: warning: wand/MagickWand.h: No such file or directory

The system has /usr/include/wand/magick_wand.h, but it does not
have /usr/include/wand/MagickWand.h. Looks like the former is now
deprecated. The latter does exist on RHEL 5.5, with ImageMagick 6.2.8.

Obviously I can just re-configure using --without-imagemagick, but
Emacs should do this for me. Either configure should test for some
required minimum version of ImageMagick (I was not able to find out in
what version wand/MagickWand.h was added); or image.c should fall back
to wand/magick_wand.h if it can.



[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 7955-done <at> debbugs.gnu.org
Subject: Re: bug#7955: patch for imagemagick header rename
Date: Mon, 11 Apr 2011 23:56:18 -0400
Version: 24.1

Done.


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.