启用对pulseaudio的udev和speex支持

启用对pulseaudio的udev和speex支持

我尝试安装脉冲音频,但运行后./configure收到一条警告消息:

===== WARNING WARNING WARNING WARNING WARNING WARNING WARNING =====
You do not have udev support enabled. It is strongly recommended
that you enable udev support if your platform supports it as it is
the primary method used to detect hardware audio devices (on Linux)
and is thus a critical part of PulseAudio on that platform.
===== WARNING WARNING WARNING WARNING WARNING WARNING WARNING =====


===== WARNING WARNING WARNING WARNING WARNING WARNING WARNING =====
You do not have speex support enabled. It is strongly recommended
that you enable speex support if your platform supports it as it is
the primary method used for audio resampling and is thus a critical
part of PulseAudio on that platform.
===== WARNING WARNING WARNING WARNING WARNING WARNING WARNING =====

我尝试查找有关启用这两项服务的信息,但找不到任何内容。我怎样才能启用它们?

答案1

您可能还需要安装该libspeexdsp-dev软件包(这取决于libspeex-dev):

sudo apt-get install libspeexdsp-dev
sudo apt-get install libudev-dev

答案2

这些不是services,而是编译选项,用于./configure --enable-XXX启用它们(请参阅./configure --help第一个)

另外,要更改基于 debian 的发行版的编译选项,请考虑 debian 方式,

首先用于apt-get source XXX获取源代码,并用于apt-get build-dep XXX安装依赖项,

然后,更改debian/control文件(包含编译选项),

然后在最上面的源文件夹中, launch dpkg-buildpackage,成功后,您会在该文件夹外看到一些 deb 包,使用dpkg -i XXX.deb它来安装它。

相关内容