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: Wed, 15 Apr 2015 01:47:48 +0900 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1429030175 18368 80.91.229.3 (14 Apr 2015 16:49:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2015 16:49:35 +0000 (UTC) Cc: Akira Shirai To: 20332@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 14 18:49:21 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 1Yi41V-0005N7-Qs for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 18:49:18 +0200 Original-Received: from localhost ([::1]:56968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi41V-0000K8-3K for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 12:49:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi41M-0000B0-CQ for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 12:49:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yi41G-0004HM-Lr for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 12:49:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi41G-0004HB-Hg for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 12:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yi41G-0005dw-5l for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 12:49: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: Tue, 14 Apr 2015 16:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20332 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142903009921638 (code B ref -1); Tue, 14 Apr 2015 16:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Apr 2015 16:48:19 +0000 Original-Received: from localhost ([127.0.0.1]:56405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yi40Y-0005cv-OS for submit@debbugs.gnu.org; Tue, 14 Apr 2015 12:48:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59412) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yi40W-0005ch-9d for submit@debbugs.gnu.org; Tue, 14 Apr 2015 12:48:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yi40L-0003lY-Hs for submit@debbugs.gnu.org; Tue, 14 Apr 2015 12:48:11 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi40L-0003lU-Fe for submit@debbugs.gnu.org; Tue, 14 Apr 2015 12:48:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi40J-0008PH-Pt for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 12:48:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yi40E-0003kU-PT for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 12:48:03 -0400 Original-Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:34114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi40E-0003kF-DH for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 12:47:58 -0400 Original-Received: by pacyx8 with SMTP id yx8so17739919pac.1 for ; Tue, 14 Apr 2015 09:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=PDb8DPcZNmHNfbb3ti4iOR/SLfosnoyIegh44CARBMI=; b=pbAMyXlGbcZ3WzYwJy+o554ccNC6VBLoOtqg9+pUBUV6OMwRY4rZSUuJz5KecKBl8y /YvlaCMX4MvvlXyFDqM9Ig9Wdj4VWcuiL+zVzdlin4O1m0J9YyeRuBK3zbvTXtRXJ9wJ g6URJ9WCzAy5e15y00PJn00rn1WBnOUJ8nqPBBF1K+xOc4ik8OgMltzu+U6h4HNfwdNm mVVp9HVZK4VriBvvasVb8ro42VEJgqBXb1sGypucghdvOiTZQBbDRlu1o9u8O4JO7kC2 PRcBEXiZ/7oUmZW/Ngs+kWxLbSEmA6O3t6roB9ajZXml9OYm4EwVmc0GmQEkn8arlfd+ OdMw== X-Received: by 10.66.139.195 with SMTP id ra3mr37398753pab.21.1429030076617; Tue, 14 Apr 2015 09:47:56 -0700 (PDT) Original-Received: from [172.20.10.11] (pw126255028201.9.panda-world.ne.jp. [126.255.28.201]) by mx.google.com with ESMTPSA id ic7sm1568507pbc.70.2015.04.14.09.47.52 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Apr 2015 09:47:55 -0700 (PDT) X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:101526 Archived-At: With jpeg-6b, configure in Emacs 24.5 says "WARNING: libjpeg found, but not version 6b or later". The host system type is i386-pc-solaris2.10, and the C compiler is SUN = C. In config.log the cc says: "conftest.c", line 86: invalid input token: 6b cc: acomp failed for conftest.c % cat -n /usr/include/jpeglib.h | sed -n 33p 33 #define JPEG_LIB_VERSION 62 /* Version 6b */ % cat emacs-24.4.91.tar | tar xfp - % (cd emacs-24.4.91; ./configure --with-gif=3Dno | fgrep -i jpeg > = configure_jpeg_emacs-24.4.91) % gzcat emacs-24.5.tar.gz | tar xfp - % (cd emacs-24.5; ./configure --with-gif=3Dno | fgrep -i jpeg > = configure_jpeg_emacs-24.5) configure: WARNING: libjpeg found, but not version 6b or later configure: error: The following required libraries were not found: libjpeg Maybe some development libraries/packages are missing? If you don't want to link with them give --with-jpeg=3Dno as options to configure % (cd emacs-24.4.91; cat -n config.log | sed -n 4683,4688p) 4683 configure:13880: checking for jpeg_destroy_compress in -ljpeg 4684 configure:13905: cc -D_STDC_C99=3D -o conftest = -I/usr/openwin/include -g -O -I/usr/openwin/include = -L/usr/openwin/lib conftest.c -ljpeg -lXext -lXmu -lXt -lSM -lICE -lX11 = -lpthread -lsocket -lnsl >&5 4685 "conftest.c", line 96: warning: statement not reached 4686 configure:13905: $? =3D 0 4687 configure:13914: result: yes 4688 configure:13995: checking png.h usability % (cd emacs-24.5; cat -n config.log | sed -n 4683,4691p) 4683 configure:13882: checking for jpeg_destroy_compress in -ljpeg 4684 configure:13907: cc -D_STDC_C99=3D -o conftest = -I/usr/openwin/include -g -O -I/usr/openwin/include = -L/usr/openwin/lib conftest.c -ljpeg -lXext -lXmu -lXt -lSM -lICE -lX11 = -lpthread -lsocket -lnsl >&5 4685 "conftest.c", line 96: warning: statement not reached 4686 configure:13907: $? =3D 0 4687 configure:13916: result: yes 4688 "conftest.c", line 86: invalid input token: 6b 4689 cc: acomp failed for conftest.c 4690 configure:13943: WARNING: libjpeg found, but not version 6b or = later 4691 configure:13999: checking png.h usability % (cd emacs-24.5; ./configure --with-gif=3Dno) checking for xcrun... no checking for a BSD-compatible install... /opt/sfw/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/sfw/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking for gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of cc... none checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /usr/xpg4/bin/grep checking for egrep... /usr/xpg4/bin/grep -E checking for Minix Amsterdam compiler... no checking for ar... ar checking for ranlib... ranlib checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for cc option to accept ISO C99... -D_STDC_C99=3D checking for cc -D_STDC_C99=3D option to accept ISO Standard C... = (cached) -D_STDC_C99=3D checking whether cc -D_STDC_C99=3D accepts -g3... no checking whether cc -D_STDC_C99=3D accepts -O... yes checking whether the compiler is clang... no checking whether ln -s works for files in the same directory... yes checking for install-info... : checking for gzip... /bin/gzip checking for makeinfo... /home/shirai/bin/makeinfo checking for -znocombreloc... no checking whether addresses are sanitized... no checking for pkg-config... /bin/pkg-config checking for machine/soundcard.h... no checking for sys/soundcard.h... no checking for soundcard.h... no checking for mmsystem.h... no checking for _oss_ioctl in -lossaudio... no checking for alsa >=3D 1.0.0... no checking for sys/systeminfo.h... yes checking for coff.h... no checking for pty.h... no checking for sys/resource.h... yes checking for sys/utsname.h... yes checking for pwd.h... yes checking for utmp.h... yes checking for util.h... no checking for sys/socket.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for pthread.h... yes checking for malloc/malloc.h... no checking for maillock.h... yes checking for sys/un.h... yes checking for dirent.h... yes checking for execinfo.h... no checking for stdio_ext.h... yes checking for getopt.h... yes checking for sys/time.h... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking for utime.h... yes checking if personality LINUX32 can be set... no checking for term.h... yes checking whether time.h and sys/time.h may both be included... yes checking whether sys_siglist is declared... no checking whether __sys_siglist is declared... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for net/if.h... yes checking for ifaddrs.h... no checking for net/if_dl.h... yes checking for struct ifreq.ifr_flags... yes checking for struct ifreq.ifr_hwaddr... no checking for struct ifreq.ifr_netmask... no checking for struct ifreq.ifr_broadaddr... yes checking for struct ifreq.ifr_addr... yes checking for struct ifreq.ifr_addr.sa_len... no checking for long file names... yes checking for X... libraries /usr/openwin/lib, headers = /usr/openwin/include checking whether malloc is Doug Lea style... no checking for getpagesize... yes checking for working mmap... yes checking for dnet_ntoa in -ldnet... no checking for main in -lXbsd... no checking for pthread_self in -lpthread... yes checking for cma_open in -lpthreads... no checking for Xkb... yes checking for XrmSetDatabase... yes checking for XScreenResourceString... yes checking for XScreenNumberOfScreen... yes checking X11 version 6... 6 or newer checking for librsvg-2.0 >=3D 2.11.0... no checking for Wand >=3D 6.3.5 Wand !=3D 6.8.2... no checking for gtk+-3.0 >=3D 3.0 glib-2.0 >=3D 2.28... no checking for gtk+-2.0 >=3D 2.10 glib-2.0 >=3D 2.10... no checking for dbus-1 >=3D 1.0... no checking for gio-2.0 >=3D 2.26... no checking for gconf-2.0 >=3D 2.13... no checking for lgetfilecon in -lselinux... no checking for gnutls >=3D 3.0.0... no checking for gnutls >=3D 2.6.6... no checking for gio-2.0 >=3D 2.24... no checking sys/inotify.h usability... no checking sys/inotify.h presence... no checking for sys/inotify.h... no checking for xaw3d... no checking for libXaw... yes; using Lucid toolkit checking X11 toolkit version... 6 or newer checking for XmuConvertStandardSelection in -lXmu... yes checking for XShapeQueryExtension in -lXext... yes checking for fontconfig >=3D 2.2.0... yes CFLAGS=3D' ' = LIBS=3D'-lfontconfig ' checking for xft >=3D 0.13.0... yes CFLAGS=3D'-I/usr/openwin/include = -I/usr/sfw/include -I/usr/sfw/include/freetype2 ' = LIBS=3D'-R/usr/openwin/lib -R/usr/sfw/lib = -R/usr/openwin/lib:/usr/openwin/sfw/lib -L/usr/openwin/lib = -L/usr/sfw/lib -L/usr/openwin/sfw/lib -lXft -lfreetype -lXrender = -lfontconfig ' checking for XRenderQueryExtension in -lXrender... no checking X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking for XpmReadFileToPixmap in -lXpm... yes checking for XpmReturnAllocPixels preprocessor define... yes checking jerror.h usability... yes checking jerror.h presence... yes checking for jerror.h... yes checking for jpeg_destroy_compress in -ljpeg... yes configure: WARNING: libjpeg found, but not version 6b or later checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_get_channels in -lpng... yes checking whether png_longjmp is declared... no checking for library containing inflateEnd... -lz checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for TIFFGetVersion in -ltiff... yes configure: error: The following required libraries were not found: libjpeg Maybe some development libraries/packages are missing? If you don't want to link with them give --with-jpeg=3Dno as options to configure % which cc /opt/SUNWspro/bin/cc % sh $ echo version=3D62 > aaa_emacs-24.4.91.c; cc -E aaa_emacs-24.4.91.c # 1 "aaa_emacs-24.4.91.c" version=3D62 #ident "acomp: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12" $ echo $? 0 $ 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