[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61988: error compiling emacs
From: |
Po Lu |
Subject: |
bug#61988: error compiling emacs |
Date: |
Wed, 08 Mar 2023 17:02:31 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Your config.log shows you applied the old patch. I'm talking about this
new one:
diff --git a/configure.ac b/configure.ac
index bc7e61048c3..1477e04b7d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2806,6 +2806,22 @@ 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"
+ EMACS_CHECK_MODULES([WEBP], [$WEBP_MODULE])])
+
+ CFLAGS=$OLD_CFLAGS
+ LIBS=$OLD_LIBS
+
AC_SUBST([WEBP_CFLAGS])
AC_SUBST([WEBP_LIBS])
fi
with this patch applied, and after you run autogen.sh, does Emacs
configure and build normally?
- bug#61988: error compiling emacs, (continued)
- bug#61988: error compiling emacs, Eli Zaretskii, 2023/03/07
- bug#61988: R: bug#61988: error compiling emacs, Ugo Tomei, 2023/03/07
- bug#61988: error compiling emacs, Eli Zaretskii, 2023/03/07
- bug#61988: R: bug#61988: error compiling emacs, Ugo Tomei, 2023/03/07
- bug#61988: error compiling emacs, Eli Zaretskii, 2023/03/07
- bug#61988: error compiling emacs, Eli Zaretskii, 2023/03/07
- bug#61988: R: bug#61988: error compiling emacs, Ugo Tomei, 2023/03/07
- bug#61988: error compiling emacs, Eli Zaretskii, 2023/03/07
- bug#61988: error compiling emacs, Po Lu, 2023/03/07
- bug#61988: error compiling emacs, Ugo Tomei, 2023/03/08
- bug#61988: error compiling emacs,
Po Lu <=
- bug#61988: error compiling emacs, Ugo Tomei, 2023/03/08
- bug#61988: error compiling emacs, Po Lu, 2023/03/08
- bug#61988: error compiling emacs, Ugo Tomei, 2023/03/08
- bug#61988: error compiling emacs, Po Lu, 2023/03/08
- bug#61988: error compiling emacs, Eli Zaretskii, 2023/03/08