[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configure and libjpeg version on openSUSE 10.2
From: |
Reiner Steib |
Subject: |
configure and libjpeg version on openSUSE 10.2 |
Date: |
Sat, 24 Mar 2007 15:04:33 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
Hi,
on openSUSE 10.2, configure (updated from CVS today) complains about
libjpeg being too old: "not version 6b or later".
| $ date
| Sat Mar 24 14:53:09 CET 2007
| $ ../emacs/configure --prefix=/import/xtra/emacs/HEAD --with-gtk \
| --exec-prefix=/import/xtra/emacs/HEAD-i686
| checking build system type... i686-pc-linux-gnu
| [...]
| 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
| [...]
| What window system should Emacs use? x11
| What toolkit should Emacs use? GTK
| Where do we find X Windows header files? Standard dirs
| Where do we find X Windows libraries? Standard dirs
| Does Emacs use -lXaw3d? no
| Does Emacs use -lXpm? yes
| Does Emacs use -ljpeg? no
| Does Emacs use -ltiff? yes
| Does Emacs use -lungif? yes
| Does Emacs use -lpng? yes
| Does Emacs use X toolkit scroll bars? yes
So configure decided not to use my libjpeg.
According to the time stamps, it used the expected header file and
library:
| $ ls -lu `locate jerror.h`; ls -lu `locate libjpeg.so`
| -rw-r--r-- 1 root root 13989 2007-03-24 14:53 /usr/include/jerror.h
| [...]
| [...] 17 2007-03-24 14:53 /usr/lib/libjpeg.so -> libjpeg.so.62.0.0
| [...] 16 2007-03-24 14:50 /usr/lib/libjpeg.so.6 -> libjpeg.so.6.0.1
| [...] 155043 2007-02-18 17:13 /usr/lib/libjpeg.so.6.0.1
| [...] 17 2007-03-24 14:53 /usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
| [...] 127160 2007-03-24 14:53 /usr/lib/libjpeg.so.62.0.0
The RPM information from SUSE claim that it *is* "version 6b", see the
lines "Source RPM". Is the configure test[1] broken or is SUSE's
information wrong? How can I find out?
| $ rpm -qfi /usr/include/jerror.h /usr/lib/libjpeg.so.62.0.0
| Name : libjpeg-devel Relocations: (not relocatable)
| Version : 6.2.0 Vendor: SUSE LINUX Products
GmbH, Nuernberg, Germany
| Release : 37 Build Date: Sat 25 Nov 2006
01:20:34 PM CET
| Install Date: Sun 04 Mar 2007 01:07:35 PM CET Build Host: tanajew.suse.de
| Group : Development/Libraries/C and C++ Source RPM:
jpeg-6b-771.src.rpm
| Size : 238390 License: BSD License and
BSD-like, Other License(s), see package
| Signature : DSA/SHA1, Sat 25 Nov 2006 01:23:13 PM CET, Key ID
a84edae89c800aca
| Packager : http://bugs.opensuse.org
| URL : http://www.ijg.org/
| Summary : Development Tools for Programs which will use the Libjpeg
Library
| Description :
| The libjpeg-devel package includes the header files and static
| libraries necessary for developing programs which will manipulate JPEG
| files using the libjpeg library.
| Distribution: openSUSE 10.2 (i586)
| Name : libjpeg Relocations: (not relocatable)
| Version : 6.2.0 Vendor: SUSE LINUX Products
GmbH, Nuernberg, Germany
| Release : 771 Build Date: Sat 25 Nov 2006
01:20:34 PM CET
| Install Date: Sun 18 Feb 2007 05:08:32 PM CET Build Host: tanajew.suse.de
| Group : System/Libraries Source RPM: jpeg-6b-771.src.rpm
| Size : 127160 License: BSD License and
BSD-like, Other License(s), see package
| Signature : DSA/SHA1, Sat 25 Nov 2006 01:23:13 PM CET, Key ID
a84edae89c800aca
| Packager : http://bugs.opensuse.org
| URL : http://www.ijg.org/
| Summary : JPEG libraries
| Description :
| The libraries (static and dynamic) for the jpeg-graphics format. The
| sources are contained in the jpeg source package.
|
|
| Authors:
| --------
| Rob Hooft <address@hidden>
| Michael Mauldin <address@hidden>
| Distribution: openSUSE 10.2 (i586)
Bye, Reiner.
[1]
,----[ configure.in ]
| ### Use -ljpeg if available, unless `--with-jpeg=no'.
| HAVE_JPEG=no
| if test "${HAVE_X11}" = "yes"; then
| if test "${with_jpeg}" != "no"; then
| dnl Checking for jpeglib.h can lose because of a redefinition of
| dnl HAVE_STDLIB_H.
| AC_CHECK_HEADER(jerror.h,
| AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=yes))
| fi
|
| AH_TEMPLATE(HAVE_JPEG, [Define to 1 if you have the jpeg library
(-ljpeg).])dnl
| if test "${HAVE_JPEG}" = "yes"; then
| AC_DEFINE(HAVE_JPEG)
| AC_EGREP_CPP([version= *(6[2-9]|[7-9][0-9])],
| [#include <jpeglib.h>
| version=JPEG_LIB_VERSION
| ],
| AC_DEFINE(HAVE_JPEG),
| [AC_MSG_WARN([libjpeg found, but not version 6b or later])
| HAVE_JPEG=no])
| fi
| fi
`----
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- configure and libjpeg version on openSUSE 10.2,
Reiner Steib <=