我试图构建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.2的请求的3个独立实例中仍然是正确的
如有任何帮助,我们将不胜感激。
最佳答案
在安装“NetworkManager-l2tp-master”时,我偶然发现一个错误:configure: error: Your intltool is too old. You need intltool 0.35 or later
。
我使用中间命令:./configure
sudo apt update
sudo apt install intltool imagemagick libmagickcore-dev pstoedit libpstoedit-dev
git clone https://github.com/autotrace/autotrace.git
cd autotrace
#unnecessary command for clarification should bugs be introduced later
git rev-parse HEAD
#t86c9c80c4h669302cb2571c0cab0rer7a102731
./autogen.sh
cd ..
(必须退出'AutoTrace'目录)autoreconf -i
./configure (again)
在此之后,错误将被解决并指示:
配置:错误:未满足包要求(gtk+-3.0>=3.4):
找不到包“gtk+-3.0”
考虑调整PKG_CONFIG_PATH环境变量
以非标准前缀安装的软件。
或者,可以设置环境变量GTK CFLAGS
和GTK-LIBS,以避免调用pkg-config。
有关更多详细信息,请参阅pkg config手册页。
此警报表示可能未安装pkg config(对应的Linux版本)。