From: Petr Hracek <phracek@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 20124@debbugs.gnu.org
Subject: bug#20124: Building emacs and libjpeg not found on Fedora 22
Date: Tue, 17 Mar 2015 12:35:23 +0100 [thread overview]
Message-ID: <5508117B.601@redhat.com> (raw)
In-Reply-To: <833853zy22.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 5386 bytes --]
On 03/17/2015 12:02 PM, Eli Zaretskii wrote:
>> Date: Tue, 17 Mar 2015 10:47:10 +0100
>> From: Petr Hracek <phracek@redhat.com>
>>
>> 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=no
>> as options to configure
>>
>> I have installed following libjpeg versions:
>> libjpeg-turbo-1.4.0-1.fc22
>> libjpeg-turbo-devel-1.4.0-1.fc22.
>> (http://koji.fedoraproject.org/koji/buildinfo?buildID=605282)
>>
>> The first package delivers SO libraries like so.62.0
>> second one delivers headers and libjpeg.so library
>>
>> Do you have any idea where could be a problem?
> Look in the config.log file for compiler error messages when it probed
> for libjpeg availability -- those error messages should give you a
> clue about what's wrong with your system configuration.
Well, in config.log I see:
configure:13878: checking for jpeg_destroy_compress in -ljpeg
configure:13903: gcc -o conftest -DMAIL_USE_LOCKF -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic -pthread
-I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16
-fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-I/usr/include/ImageMagick-6 -pthread -I/usr/include/gtk-3.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libpng16 -Wl,-z,relro
conftest.c *-ljpeg* -lXrender -lXft -lgtk-3 -lgdk-3 -lpangocairo-1.0
-lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0
-lgobject-2.0 -lglib-2.0 -lMagickWand-6.Q16 -lMagickCore-6.Q16 -lrsvg-2
-lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lX11
-lpthread -ldbus-1 >&5
configure:13903: $? = 0
configure:13912: result: yes
*configure:13937: WARNING: libjpeg found, but not version 6b or later*
configure:13993: checking png.h usability
Here -ljpeg is defined but belowe not.
and
configure:14301: checking for EGifPutExtensionLast in -lgif
configure:14326: gcc -o conftest -DMAIL_USE_LOCKF -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic -pthread
-I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16
-fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-I/usr/include/ImageMagick-6 -pthread -I/usr/include/gtk-3.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/freetype2 -I/usr/include/libpng16 -Wl,-z,relro
conftest.c -lgif -lXrender -lXft -lgtk-3 -lgdk-3 -lpangocairo-1.0
-lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0
-lgobject-2.0 -lglib-2.0 -lMagickWand-6.Q16 -lMagickCore-6.Q16
-lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
-lcairo -lX11 -lpthread -ldbus-1 >&5
configure:14326: $? = 0
configure:14335: result: yes
configure:14421: 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=no
as options to configure
Emacs build log is in the attachment.
--
Petr Hracek
Software Engineer
Developer Experience
Red Hat, Inc
Mob: +420777056169
email: phracek@redhat.com
[-- Attachment #2: emacs-build-log.tar.gz --]
[-- Type: application/gzip, Size: 20798 bytes --]
next prev parent reply other threads:[~2015-03-17 11:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-17 9:47 bug#20124: Building emacs and libjpeg not found on Fedora 22 Petr Hracek
2015-03-17 9:57 ` Petr Hracek
2015-03-17 11:02 ` Eli Zaretskii
2015-03-17 11:35 ` Petr Hracek [this message]
2015-03-17 12:37 ` Eli Zaretskii
2015-03-18 12:29 ` Petr Hracek
2015-03-18 6:41 ` Paul Eggert
2015-03-18 6:48 ` Glenn Morris
2015-03-23 7:24 ` Paul Eggert
2015-03-23 16:18 ` Glenn Morris
2015-03-23 17:37 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5508117B.601@redhat.com \
--to=phracek@redhat.com \
--cc=20124@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.