unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: joakim@verona.se
Cc: 7955@debbugs.gnu.org
Subject: bug#7955: patch for imagemagick header rename
Date: Fri, 11 Feb 2011 20:11:46 -0500	[thread overview]
Message-ID: <shy65m12gd.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <2evd137anm.fsf@fencepost.gnu.org>


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.





  parent reply	other threads:[~2011-02-12  1:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01 20:38 bug#7955: configure does not thoroughly test for ImageMagick includes Glenn Morris
2011-02-02  2:48 ` Chong Yidong
2011-02-02  9:30   ` joakim
2011-02-02 19:32     ` Glenn Morris
2011-02-03  8:16 ` bug#7955: reply from the IM team joakim
2011-02-08 19:19   ` Glenn Morris
2011-02-11 23:38 ` bug#7955: patch for imagemagick header rename joakim
2011-02-12  1:11 ` Glenn Morris [this message]
2011-02-12 22:39   ` Chong Yidong
2011-02-13  0:28     ` joakim
2011-02-12 23:37 ` Glenn Morris
2011-02-14 20:13 ` Glenn Morris
2011-02-14 20:37   ` joakim
2011-02-15  2:51 ` Glenn Morris
2011-04-07 21:00   ` Glenn Morris
2011-04-12  3:56 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=shy65m12gd.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=7955@debbugs.gnu.org \
    --cc=joakim@verona.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).