我无法在 Ubuntu 14.04 上更新 BlueZ

我无法在 Ubuntu 14.04 上更新 BlueZ

我无法在 Ubuntu 14.04 上将 BlueZ 更新到最新版本 (5.40)。

我运行自述文件中提供的命令,但出现错误:

./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var
[…]
checking systemd system unit dir... configure: error: systemd system unit directory is required

根据这个问题,我应该使用以下命令:

./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-experimental --with-systemdsystemunitdir=/lib/systemd/system --with-systemduserunitdir=/usr/lib/systemd

一切正常。

然后我输入命令:

make && make install

一切正常。

我检查了我的 BlueZ 版本:

bluetoothd -v
4.101

它不起作用。

相关内容