spa/meson.build:29:4: 错误:未找到依赖项“bluez”,在 Ubuntu 16.04 中安装 PIPEWIRE 时尝试了 pkgconfig 和 cmake

问题描述

我正在尝试使用此处找到的说明在我的 Ubuntu 16.04 x86 amd64 机器中安装 Pipewire:https://pipewire.org/#getting

./autogen.sh --prefix=$PREFIX

运行上述命令时,出现此错误

spa/meson.build:29:4: ERROR: Dependency "bluez" not found,tried pkgconfig and cmake

我已经安装了bluez。这是运行的输出

**sudo apt-get install bluez**
     Reading package lists... Done
     Building dependency tree       
     Reading state information... Done
     bluez is already the newest version (5.37-0ubuntu5.3).
     0 upgraded,0 newly installed,0 to remove and 19 not upgraded.

解决方法

在包之上进行开发所需的文件通常是独立的(因为这实际上只有开发人员需要,否则会无缘无故地占用太多大小)。

就您而言,您要查找的包是 libbluetooth-dev。所以你可以做sudo apt install libbluetooth-dev