unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Ugo Tomei <utomei@tiscali.it>
Cc: Eli Zaretskii <eliz@gnu.org>, 61988@debbugs.gnu.org
Subject: bug#61988: error compiling emacs
Date: Wed, 08 Mar 2023 20:55:51 +0800	[thread overview]
Message-ID: <87h6uvmmg8.fsf@yahoo.com> (raw)
In-Reply-To: <48c4b2e2-47d8-5b59-c7b1-b92f1f8b3fa3@tiscali.it> (Ugo Tomei's message of "Wed, 8 Mar 2023 13:26:28 +0100")

Ugo Tomei <utomei@tiscali.it> writes:

> hi,
>
> pkg-config/kinetic,now 0.29.2-1ubuntu3 amd64 [installato]
>
> with this patch compile well:
>
> lrwxrwxrwx 1 root root 13 mar  8 13:25 /usr/local/bin/emacs -> emacs-30.0.50
>
> attached log and configure.ac
>
> thanks, best regards
>
>
> Il 08/03/23 11:42, Po Lu ha scritto:
>> What if you try this instead?
>>
>> diff --git a/configure.ac b/configure.ac
>> index bc7e61048c3..ac93d003b70 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -2806,6 +2806,25 @@ AC_DEFUN
>>         WEBP_MODULE="libwebpdemux >= $WEBP_REQUIRED"
>>           EMACS_CHECK_MODULES([WEBP], [$WEBP_MODULE])
>> +
>> +      # WebPGetInfo is sometimes not present inside libwebpdemux, so
>> +      # if it does not link, also check for libwebpdecoder.
>> +
>> +      OLD_CFLAGS=$CFLAGS
>> +      OLD_LIBS=$LIBS
>> +      CFLAGS="$CFLAGS $WEBP_CFLAGS"
>> +      LIBS="$LIBS $WEBP_LIBS"
>> +
>> +      AC_CHECK_FUNC([WebPGetInfo], [],
>> +        [WEBP_MODULE="$WEBP_MODULE libwebpdecoder >= $WEBP_REQUIRED"
>> +	 HAVE_WEBP=no
>> +	 AS_UNSET([WEBP_LIBS])
>> +	 AS_UNSET([WEBP_CFLAGS])
>> +	 EMACS_CHECK_MODULES([WEBP], [$WEBP_MODULE])])
>> +
>> +      CFLAGS=$OLD_CFLAGS
>> +      LIBS=$OLD_LIBS
>> +
>>         AC_SUBST([WEBP_CFLAGS])
>>         AC_SUBST([WEBP_LIBS])
>>      fi
>>
>> I'm not sure what pkg-config is doing here TBH, but it isn't very
>> intuitive.

Thanks.  Eli, if this works for you as well, I will install this on
Emacs 29 now.





  reply	other threads:[~2023-03-08 12:55 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
2023-03-07 14:34                         ` bug#61988: R: " 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 [this message]
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=87h6uvmmg8.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=61988@debbugs.gnu.org \
    --cc=eliz@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).