From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YE Qianchuan Newsgroups: gmane.emacs.help Subject: Re: Failed to build emacs against imagemagick 6.8.4.6 Date: Fri, 05 Apr 2013 20:58:41 +0800 Message-ID: <515ECA81.7010003@gmail.com> References: <515E9895.5010301@gmail.com> <86a5684e3bc7b2b753dfda940710d4f8@eumx.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365278661 29919 80.91.229.3 (6 Apr 2013 20:04:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 20:04:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 06 22:04:23 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UOZJs-00023j-Bz for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Apr 2013 22:02:36 +0200 Original-Received: from localhost ([::1]:53409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO6EY-0000wP-Rv for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Apr 2013 08:59:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO6EM-0000sc-Ry for help-gnu-emacs@gnu.org; Fri, 05 Apr 2013 08:59:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO6EL-0004SR-85 for help-gnu-emacs@gnu.org; Fri, 05 Apr 2013 08:58:58 -0400 Original-Received: from mail-pd0-f179.google.com ([209.85.192.179]:43468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO6EL-0004SJ-1w for help-gnu-emacs@gnu.org; Fri, 05 Apr 2013 08:58:57 -0400 Original-Received: by mail-pd0-f179.google.com with SMTP id x11so1976526pdj.24 for ; Fri, 05 Apr 2013 05:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=h5p0xuQEIvWUIjrz9DD1rpcTb0wSoKz7z9CGF2keRTA=; b=u6XFF3YxjPqssSp/nhv71G7pxD+BtWBYn60R/Z4JUV7n0EnsvZQJfNvQEPY9pJGLDD SdtIH8vz35OgHzjgVe7HCk2lRQHlAk/arPVlzxQju3W5Qrxw+rd3edlgVz95eqOH/qJe nuxwCTGTrIXo+gRs+kdamNcreHtTvVCT+ksWQ90gtu2y74vZ4uztc/ZnX5ym9UKbK7yI poFRvujt6eOTg38hAYDJa30u7P4AlJDbZoguEki1f/wdZFtCfcAsNE6paAVfQcAX4Knr LVs9HOOtYXGnowZLBnOE0q5mIMIaVO7ZYHNFP2bDutt0lAkmHbyU80Rx53o87K1Qhac+ FYuA== X-Received: by 10.68.59.8 with SMTP id v8mr11393408pbq.218.1365166735974; Fri, 05 Apr 2013 05:58:55 -0700 (PDT) Original-Received: from [0.0.0.0] ([2605:6400:2:fed5:22:178d:9007:c212]) by mx.google.com with ESMTPS id mz8sm14393627pbc.9.2013.04.05.05.58.52 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Apr 2013 05:58:54 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130403 Thunderbird/17.0.5 In-Reply-To: <86a5684e3bc7b2b753dfda940710d4f8@eumx.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.192.179 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90024 Archived-At: 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 . >> 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)