From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: ImageMagick support on Cygwin Date: Mon, 23 Aug 2010 14:16:52 +0200 Message-ID: <4C7266B4.4010009@alice.it> References: <4C6DB4F8.9090003@alice.it> <8339u9r72y.fsf@gnu.org> <4C6F00AE.40500@alice.it> <4C7246A8.80906@alice.it> <4C725C89.8000209@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: Quoted-Printable X-Trace: dough.gmane.org 1282565835 13743 80.91.229.12 (23 Aug 2010 12:17:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Aug 2010 12:17:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 23 14:17:12 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OnVxe-00014I-1p for ged-emacs-devel@m.gmane.org; Mon, 23 Aug 2010 14:17:10 +0200 Original-Received: from localhost ([127.0.0.1]:48279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OnVxd-0008C3-8d for ged-emacs-devel@m.gmane.org; Mon, 23 Aug 2010 08:17:09 -0400 Original-Received: from [140.186.70.92] (port=51626 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OnVxY-0008BG-0i for emacs-devel@gnu.org; Mon, 23 Aug 2010 08:17:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OnVxW-0005h9-8k for emacs-devel@gnu.org; Mon, 23 Aug 2010 08:17:03 -0400 Original-Received: from smtp207.alice.it ([82.57.200.103]:55548) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OnVxV-0005gw-VZ for emacs-devel@gnu.org; Mon, 23 Aug 2010 08:17:02 -0400 Original-Received: from [82.57.168.70] (82.57.168.70) by smtp207.alice.it (8.5.124.08) id 4C1A26CF03D408F3; Mon, 23 Aug 2010 14:16:54 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129075 Archived-At: Il 23/08/2010 14.07, joakim@verona.se ha scritto: > Angelo Graziosi writes: > >> Il 23/08/2010 12.51, joakim@verona.se ha scritto: >>> Angelo Graziosi writes: >>> >>>> Il 21/08/2010 8.55, joakim@verona.se ha scritto: >>>>> Angelo Graziosi writes: >>>>> >>>>>> joakim wrote: >>>>>>> This analysis is probably correct. I'll try to check in a fix. >>>>>> >>>>>> Rev. 101149 still fails in the same manner. And these warnings >>>>>> >>>>>> [...] >>>>>> /tmp/emacs/src/image.c: In function =E2=80=98imagemagick_load_imag= e=E2=80=99: >>>>>> /tmp/emacs/src/image.c:7663:11: warning: passing argument 2 of >>>>>> =E2=80=98PixelGetNextIteratorRow=E2=80=99 from incompatible pointe= r type [enabled by >>>>>> default] >>>>>> /usr/include/ImageMagick/wand/pixel-iterator.h:55:5: note: expecte= d >>>>>> =E2=80=98long unsigned int *=E2=80=99 but argument is of type =E2=80= =98size_t *=E2=80=99 >>>>>> /tmp/emacs/src/image.c:7715:7: warning: implicit declaration of >>>>>> function =E2=80=98MagickExportImagePixels=E2=80=99 [-Wimplicit-fun= ction-declaration] >>>>>> /tmp/emacs/src/image.c: In function =E2=80=98Fimagemagick_types=E2= =80=99: >>>>>> /tmp/emacs/src/image.c:7835:3: warning: passing argument 2 of >>>>>> =E2=80=98GetMagickList=E2=80=99 from incompatible pointer type [en= abled by default] >>>>>> /usr/include/ImageMagick/magick/magick.h:87:5: note: expected =E2=80= =98long >>>>>> unsigned int *=E2=80=99 but argument is of type =E2=80=98size_t *=E2= =80=99 >>>>>> [...] >>>>>> >>>>>> are not too reassuring... >>>>> >>>>> I'll try to set up a cygwin environment here. That will take a whil= e. >>>> >>>> Sorry, but this issue is not Cygwin specific at all: I think you >>>> should setup also a GNU/Linux Kubuntu 8.04 system, on which there ar= e >>>> the *same* identical problems that occur on Cygwin. On K804 >>>> imagemagick is 6.3.7. >>> >>> Ok, I will download a vbox image and set up ubuntu 8.04. >>> >>> BTW the warnings seem to stem from some api change. I'll figure out s= ome >>> solution for that also. >> >> The main problem is that bootstrap fails because the 'logic' in >> configure.in looks wrong in any case, as pointed out by Ken. >> >> If on Kubuntu 10.04 (the last Kubuntu) the bootstrap works, it happens >> _ONLY_ because the ImageMagick is more recent and, accidentally, has >> MagickExport.. defined. > > Does bootstrap fail even if you dont --enable-imagemagick? The bootstrap DOES NOT fail if: 1. imagemagick support is disabled, i.e. if one DOES NOT add=20 '--with-imagemagick' to configure 2. if 'AC_DEFINE(HAVE_MAGICKEXPORTIMAGEPIXELS, 0, [Define to 1 if=20 MagickExportImagePixels is defined.])' is removed by configure.in and=20 configure is regenereated (calling autoconf) It seems I am repeating my self or you do not read carefully what me and=20 Ken are writing... Ciao, Angelo.