unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Ugo Tomei" <utomei@tiscali.it>
Cc: luangruo@yahoo.com, 61988@debbugs.gnu.org
Subject: bug#61988: error compiling emacs
Date: Tue, 07 Mar 2023 16:11:14 +0200	[thread overview]
Message-ID: <83r0u0648t.fsf@gnu.org> (raw)
In-Reply-To: <000001d950f9$ccd46290$667d27b0$@tiscali.it> (utomei@tiscali.it)

> From: "Ugo Tomei" <utomei@tiscali.it>
> Date: Tue, 7 Mar 2023 14:36:19 +0100
> 
> If i remove libwebpdecoder3 on my ubuntu 22.04 emacs compile well.

Compiles and supports display of WebP images?  Or compiles without
WebP support?  What does the "configure" script say when it ends? does
it say

  Does Emacs use -lwebp?                                  yes

or does not say

  Does Emacs use -lwebp?                                  no

> If I install libwebpdecoder3 not compile (/usr/bin/ld:
> /lib/x86_64-linux-gnu/libwebp.so.7: error adding symbols: DSO missing from
> command line):
> 
>   CC       textconv.o
>   CC       xgselect.o
>   CC       json.o
>   CC       terminfo.o
>   CC       lastfile.o
>   CCLD     temacs
>   GEN      ../etc/DOC
> /usr/bin/ld: image.o: undefined reference to symbol 'WebPGetInfo'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libwebp.so.7: error adding symbols: DSO
> missing from command line

Please show the parts of config.log where the configure script makes
the WebP related tests.  Here's what I see on my system:

  configure:14271: checking for libwebpdemux >= 0.6.0
  configure:14278: $PKG_CONFIG --exists --print-errors "$WEBP_MODULE"
  configure:14281: $? = 0
  configure:14295: $PKG_CONFIG --exists --print-errors "$WEBP_MODULE"
  configure:14298: $? = 0
  configure:14336: result: yes
  configure:14350: checking for WebPGetInfo
  configure:14350: gcc -I ./nt/inc -o conftest.exe -O0 -gdwarf-4 -g3 -mms-bitfields -isystem d:/usr/include/librsvg-2.0 -isystem d:/usr/include/gdk-pixbuf-2.0 -isystem d:/usr/include/libpng16 -isystem d:/usr/include/cairo -isystem d:/usr/include/glib-2.0 -isystem d:/usr/lib/glib-2.0/include -isystem d:/usr/include/pixman-1 -isystem d:/usr/include/libpng16   -mtune=pentium4    conftest.c   -lwebpdemux -lwebp  >&5 
  configure:14350: $? = 0
  configure:14350: result: yes





  reply	other threads:[~2023-03-07 14:11 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-05 11:23 bug#61988: error compiling emacs Ugo Tomei
2023-03-05 19:41 ` Eli Zaretskii
2023-03-06  9:10   ` Ugo Tomei
2023-03-06  0:20 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-06  9:38   ` Ugo Tomei
2023-03-06 10:35     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-06 12:08       ` Eli Zaretskii
2023-03-06 13:43         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-06 15:38           ` Eli Zaretskii
2023-03-07  0:34             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-07  3:38               ` Eli Zaretskii
2023-03-07  5:03                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-07 13:00                   ` Eli Zaretskii
2023-03-07 13:36                     ` bug#61988: R: " Ugo Tomei
2023-03-07 14:11                       ` Eli Zaretskii [this message]
2023-03-07 14:34                         ` Ugo Tomei
2023-03-07 15:27                           ` Eli Zaretskii
2023-03-07 16:21                             ` Eli Zaretskii
2023-03-07 16:44                         ` bug#61988: R: " Ugo Tomei
2023-03-07 16:59                           ` Eli Zaretskii
2023-03-08  0:09                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-08  8:32                               ` Ugo Tomei
2023-03-08  9:02                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-08  9:44                                   ` Ugo Tomei
2023-03-08 10:42                                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-08 12:26                                       ` Ugo Tomei
2023-03-08 12:55                                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-08 14:24                                           ` Eli Zaretskii
2023-09-06  0:01                                             ` Stefan Kangas

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r0u0648t.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=61988@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=utomei@tiscali.it \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).