From: YE Qianchuan <stool.ye@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Failed to build emacs against imagemagick 6.8.4.6
Date: Fri, 05 Apr 2013 20:58:41 +0800 [thread overview]
Message-ID: <515ECA81.7010003@gmail.com> (raw)
In-Reply-To: <86a5684e3bc7b2b753dfda940710d4f8@eumx.net>
On 04/05/2013 05:50 PM, Herbert J. Skuhra wrote:
> Den 05.04.2013 11:25, skrev YE Qianchuan:
>> Hi, all. I'm on Archlinux x86_64.
>> It kept complaining about undefined reference to <imagemagick symbol>.
>> Since I built it smoothly before upgrading imagemagick to 6.8.4.6, I
>> guess it's an incompatibility issue.
>>
>> A sample error output is as follows:
>> [...]
>
> IMAGEMAGICK_LIBS in src/Makefile contains only '-lMagickCore'.
> So you have to add '-lMagickWand' manually.
>
Forgot to cc this list.
Thank you. You are right, now MagickWand is necessary.
According to your tips, a simple modification in configure.ac works for me.
diff --git a/configure.ac b/configure.ac
index 0cff34b..bb240a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1881,7 +1881,7 @@ if test "${HAVE_X11}" = "yes"; then
## might work - let us know if you find one.
## 6.0.7 does not work. See bug#7955.
## 6.8.2 makes Emacs crash; see Bug#13867.
- IMAGEMAGICK_MODULE="Wand >= 6.2.8 Wand != 6.8.2"
+ IMAGEMAGICK_MODULE="MagickWand >= 6.2.8 MagickWand != 6.8.2"
PKG_CHECK_MODULES(IMAGEMAGICK, $IMAGEMAGICK_MODULE,
HAVE_IMAGEMAGICK=yes, :)
AC_SUBST(IMAGEMAGICK_CFLAGS)
AC_SUBST(IMAGEMAGICK_LIBS)
prev parent reply other threads:[~2013-04-05 12:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-05 9:25 Failed to build emacs against imagemagick 6.8.4.6 YE Qianchuan
2013-04-05 9:50 ` Herbert J. Skuhra
2013-04-05 11:21 ` Stefan Husmann
2013-04-05 12:58 ` YE Qianchuan [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=515ECA81.7010003@gmail.com \
--to=stool.ye@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.