gpt4 book ai didi

linux - 构建 Pulseaudio-11.1 和 intltool >= 0.35.0 错误

转载 作者:太空宇宙 更新时间:2023-11-04 12:19:10 24 4
gpt4 key购买 nike

我正在尝试构建 pulseaudio-11.1,因为 firefox 要求它在视频上播放音频。

我使用的是 knoppix 8.1,64 位安装,但它在 32 位上运行。

当我配置 pulseaudio 源时,我收到一条消息,指出 intltool 太旧。尽管满足了 0.35.0 的版本要求。我从源版本 0.51.0 和 0.50.2 安装,但安装都不能满足需求。当我运行 bootstrap.sh 时,我最后得到了相同的消息

root@kami:/Downloads/pulseaudio-11.1# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... //bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for stow... no
checking whether make supports nested variables... (cached) yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports C++11 features by default... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... //bin/grep
checking for egrep... //bin/grep -E
checking whether gcc needs -traditional... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gm4... no
checking for m4... m4
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether NLS is requested... yes
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at /usr/local/bin/intltool-update line 1064.
checking for intltool >= 0.35.0... found
configure: error: Your intltool is too old. You need intltool 0.35.0 or later.

这是在我删除预装的 intltool 0.35.0 版本之前和之后,然后安装较新的版本,0.51.0,然后是 0.50.2,如果最新版本有问题,则尝试使用稍旧的版本具有讽刺意味的是,它的历史可以追溯到 2015 年。

同样奇怪的是,正如您在输出中看到的那样,在声明版本太旧之前它已经找到了它所说的它没有的内容。

因此,总而言之,pulseaudio 要求 intltool >= 0.35.0,它发现并在之后说它没有,这在满足他们对版本 0.35.0、0.51.0 和 0.50 的请求的 3 个单独实例中仍然是正确的。 2

感谢任何帮助。

最佳答案

在安装“NetworkManager-l2tp-master”时,我偶然发现了一个错误:配置:错误:您的 intltool 太旧了。您需要 intltool 0.35 或更高版本。我使用了中间命令:

  1. ./configure
  2. sudo apt update
  3. sudo apt install intltool imagemagick libmagickcore-dev pstoedit libpstoedit-dev
  4. git clone https://github.com/autotrace/autotrace.git
  5. cd 自动跟踪
  6. #unnecessary command for clarification should be introduced bugs later
  7. git rev-parse HEAD
  8. #t86c9c80c4h669302cb2571c0cab0rer7a102731
  9. ./autogen.sh
  10. cd .. # 必须退出'autotrace'目录
  11. autoreconf -i
  12. ./configure # 再次

之后,错误被解决并指示:

configure: error: Package requirements (gtk+-3.0 >= 3.4) were not met:
No package 'gtk+-3.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

此警报表明可能未安装 pkg-config(相应版本的 Linux)。

关于linux - 构建 Pulseaudio-11.1 和 intltool >= 0.35.0 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46511255/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com