all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* configure and libjpeg version on openSUSE 10.2
@ 2007-03-24 14:04 Reiner Steib
  2007-03-24 14:11 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2007-03-24 14:04 UTC (permalink / raw)
  To: emacs-devel

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 <hooft@EMBL-Heidelberg.DE>
|     Michael Mauldin <mlm@cs.cmu.edu>
| 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: configure and libjpeg version on openSUSE 10.2
  2007-03-24 14:04 configure and libjpeg version on openSUSE 10.2 Reiner Steib
@ 2007-03-24 14:11 ` Andreas Schwab
  2007-03-24 17:22   ` Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2007-03-24 14:11 UTC (permalink / raw)
  To: emacs-devel

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> 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?

Look at config.log for clues.  It works fine for me.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: configure and libjpeg version on openSUSE 10.2
  2007-03-24 14:11 ` Andreas Schwab
@ 2007-03-24 17:22   ` Reiner Steib
  0 siblings, 0 replies; 3+ messages in thread
From: Reiner Steib @ 2007-03-24 17:22 UTC (permalink / raw)
  To: emacs-devel

On Sat, Mar 24 2007, Andreas Schwab wrote:

> Reiner Steib <reinersteib+gmane@imap.cc> writes:
>
>> 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?
>
> Look at config.log for clues.  It works fine for me.

Thanks for the info.  I now found some old jpeg include files in
/usr/local/include.  After removing them, configure detects it
correctly.  Sorry for the noise.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-24 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-24 14:04 configure and libjpeg version on openSUSE 10.2 Reiner Steib
2007-03-24 14:11 ` Andreas Schwab
2007-03-24 17:22   ` Reiner Steib

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.