From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#20332: 24.5; With jpeg-6b configure says "WARNING: libjpeg found, but not version 6b or later" Date: Wed, 15 Apr 2015 13:59:44 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1429120827 17086 80.91.229.3 (15 Apr 2015 18:00:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Apr 2015 18:00:27 +0000 (UTC) Cc: 20332@debbugs.gnu.org To: okshirai@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 15 20:00:18 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 1YiRbf-0005As-GZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Apr 2015 20:00:11 +0200 Original-Received: from localhost ([::1]:33466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiRbe-0007N5-Sj for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Apr 2015 14:00:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiRbb-0007Kg-EN for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2015 14:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiRbZ-0000gz-KK for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2015 14:00:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiRbZ-0000g4-IH for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2015 14:00:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YiRbY-0005WJ-7r for bug-gnu-emacs@gnu.org; Wed, 15 Apr 2015 14:00:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Apr 2015 18:00:04 +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-submit@debbugs.gnu.org id=B20332.142912078921165 (code B ref 20332); Wed, 15 Apr 2015 18:00:04 +0000 Original-Received: (at 20332) by debbugs.gnu.org; 15 Apr 2015 17:59:49 +0000 Original-Received: from localhost ([127.0.0.1]:57321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YiRbI-0005VJ-GQ for submit@debbugs.gnu.org; Wed, 15 Apr 2015 13:59:48 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:40434 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YiRbF-0005V8-MI for 20332@debbugs.gnu.org; Wed, 15 Apr 2015 13:59:46 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YiRbF-0006kS-0F; Wed, 15 Apr 2015 13:59:45 -0400 X-Spook: Ruby Ridge global CBNRC interception Rand Corporation X-Ran: H.N4LjQ1ny&/0w>-Sz6kh;?~1>}xK4#Q[W\Sz`:HY`3gKI<%Gi!J,6joE}+7a%[ue(}b\O X-Hue: green X-Attribution: GM In-Reply-To: ("=?UTF-8?Q?=E7=99=BD=E4=BA=95=E5=BD=B0?="'s message of "Wed, 15 Apr 2015 01:47:48 +0900") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:101568 Archived-At: > $ echo 'version 6b or later' > aaa_emacs-24.5.c; cc -E aaa_emacs-24.5.c > # 1 "aaa_emacs-24.5.c" > "aaa_emacs-24.5.c", line 1: invalid input token: 6b > version 6b or later > #ident "acomp: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12" > cc: acomp failed for aaa_emacs-24.5.c > $ echo $? > 2 Funnily enough, our own etc/PROBLEMS file used to contain a solution for this very issue: *** `configure' fails with ``"junk.c", line 660: invalid input token: 8.elc'' The final stage of the Emacs configure process uses the C preprocessor to generate the Makefiles. Errors of this form can occur if the C preprocessor inserts extra whitespace into its output. The solution is to find the switches that stop your preprocessor from inserting extra whitespace, add them to CPPFLAGS, and re-run configure. For example, this error can occur on Solaris 10 when using the Sun Studio compiler ``Sun C 5.8'' with its preprocessor CPP="/opt/SUNWspro/bin/cc -E". The relevant switch in this case is "-Xs" (``compile assuming (pre-ANSI) K & R C style code''). And indeed adding -Xs seems to avoid the issue. I don't think this is a real solution to this case, just a historical curiosity. :)