From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=99=BD=E4=BA=95=E5=BD=B0?= Newsgroups: gmane.emacs.bugs Subject: bug#20332: 24.5; With jpeg-6b configure says "WARNING: libjpeg found, but not version 6b or later" Date: Fri, 17 Apr 2015 01:40:21 +0900 Message-ID: <73AE9BEA-D735-40D2-A353-CE99009A70AD@gmail.com> References: <552F1242.507@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1429202491 28246 80.91.229.3 (16 Apr 2015 16:41:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2015 16:41:31 +0000 (UTC) Cc: Akira Shirai , 20332-done@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 18:41:20 2015 Return-path: Envelope-to: geb-bug-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 1Yimqt-0006Pr-S0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2015 18:41:20 +0200 Original-Received: from localhost ([::1]:37827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yimqt-00058J-4w for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2015 12:41:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yimqp-00058D-Rj for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 12:41:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yimqd-0000Rl-26 for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 12:41:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yimqc-0000Rh-Uh for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 12:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yimqc-00060d-3g for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2015 12:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=99=BD=E4=BA=95=E5=BD=B0?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Apr 2015 16:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20332 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20332-done@debbugs.gnu.org id=D20332.142920243623048 (code D ref 20332); Thu, 16 Apr 2015 16:41:01 +0000 Original-Received: (at 20332-done) by debbugs.gnu.org; 16 Apr 2015 16:40:36 +0000 Original-Received: from localhost ([127.0.0.1]:58280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YimqA-0005ze-Mk for submit@debbugs.gnu.org; Thu, 16 Apr 2015 12:40:35 -0400 Original-Received: from mail-pa0-f49.google.com ([209.85.220.49]:33241) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yimq7-0005zM-RQ for 20332-done@debbugs.gnu.org; Thu, 16 Apr 2015 12:40:32 -0400 Original-Received: by paboj16 with SMTP id oj16so95359121pab.0 for <20332-done@debbugs.gnu.org>; Thu, 16 Apr 2015 09:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=KSfiUz33bMr7MzskBqz/pJXLq8uf+oAXbply95RlQFU=; b=qPVnY+INoK7bKYKnCT+8OF6OuZniyQeR5lIUR+1DiOK+D8cp8LLcvMsmd3GnCK1hmt mzLcRuw5RZFyz4cftaqvpoL4oXtfMq4OzwKFV0VuuxRTGHqizb6jyWXd8RvoqMhMs2E+ GopVe+aUmRtuknkR/O29UZuWdqWIXIGZk3YLrhVjg37hGWOuh8IXGe9C1P2+0fDz6p9r mpV4KcK0Q8u/Mq4SF2nAD6VNuA15TLHDbDOp6lAVT8LDsnlDLAxQY2eCTKpehDPaAmbv BL++sqUd27KOPOq+u+J2QRhPASl7xIhagZA9bbicdfvD8F6tRa5sK3alyT1si0BGEbHK LgnQ== X-Received: by 10.66.253.137 with SMTP id aa9mr58120759pad.143.1429202425918; Thu, 16 Apr 2015 09:40:25 -0700 (PDT) Original-Received: from [172.20.10.11] (pw126253200172.6.panda-world.ne.jp. [126.253.200.172]) by mx.google.com with ESMTPSA id x3sm7682808pdo.0.2015.04.16.09.40.22 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Apr 2015 09:40:24 -0700 (PDT) In-Reply-To: <552F1242.507@cs.ucla.edu> X-Mailer: Apple Mail (2.2098) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101591 Archived-At: The attached patch works. Thanks. % gzcat emacs-24.5.tar.gz | tar xfp - % (cd emacs-24.5; mv configure configure.orig) % (cd emacs-24.5; patch < = ../0001-Port-jpeg-configuration-to-Solaris-10-with-Sun-C.patch) patching file `configure.ac' Hunk #1 succeeded at 3066 (offset -123 lines). % (cd emacs-24.5; autoconf) % (cd emacs-24.5; ./configure --with-gif=3Dno | fgrep -i jpeg > = configure_jpeg_emacs-24.5_20332) % (cd emacs-24.5; cat -n config.log | sed -n '4673,4683p;4762,4785p') 4673 configure:13845: checking for jpeglib 6b or later 4674 configure:13878: cc -D_STDC_C99=3D -o conftest = -I/usr/openwin/include -g -O -I/usr/openwin/include = -L/usr/openwin/lib conftest.c -lXext -lXmu -lXt -lSM -lICE -lX11 = -lpthread -lsocket -lnsl >&5 4675 Undefined first referenced 4676 symbol in file 4677 jpeg_destroy_decompress conftest.o 4678 jpeg_CreateDecompress conftest.o 4679 ld: fatal: Symbol referencing errors. No output written to = conftest 4680 configure:13878: $? =3D 1 4681 configure: failed program was: 4682 | /* confdefs.h */ 4683 | #define PACKAGE_NAME "emacs" 4762 | #define HAVE_XPM 1 4763 | /* end confdefs.h. */ 4764 | #undef HAVE_STDLIB_H /* Avoid config.h/jpeglib.h collision. = */ 4765 | #include /* jpeglib.h needs FILE and = size_t. */ 4766 | #include 4767 | #include 4768 | char verify[JPEG_LIB_VERSION < 62 ? -1 : 1]; 4769 | struct jpeg_decompress_struct cinfo; 4770 | 4771 | int 4772 | main () 4773 | { 4774 | 4775 | jpeg_create_decompress (&cinfo); 4776 | WARNMS (&cinfo, JWRN_JPEG_EOF); 4777 | jpeg_destroy_decompress (&cinfo); 4778 | 4779 | ; 4780 | return 0; 4781 | } 4782 configure:13878: cc -D_STDC_C99=3D -o conftest = -I/usr/openwin/include -g -O -I/usr/openwin/include = -L/usr/openwin/lib conftest.c -lXext -lXmu -lXt -lSM -lICE -lX11 = -lpthread -lsocket -lnsl -ljpeg >&5 4783 configure:13878: $? =3D 0 4784 configure:13889: result: -ljpeg 4785 configure:13944: checking png.h usability > 2015/04/16 10:37=E3=80=81Paul Eggert = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 > Thanks for the bug report. This area of 'configure.ac' has been a = source of trouble recently. I rewrote it, installed the attached patch = into the master branch, and am marking the bug as done. > <0001-Port-jpeg-configuration-to-Solaris-10-with-Sun-C.patch>