如何在Ubuntu 12.04 LTS上升级到最新的BlueZ版本?

Ubuntu 12.04 LTS使用的是BlueZ ver4.98,它不是最新版本。 我想升级到最新的BlueZ版本。 如何才能做到这一点?

从这里获取最新版本。

例如:

wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.30.tar.xz 

提取

 tar xf bluez-5.30.tar.xz 

建立

 cd bluez-5.30 ./configure make 

然后安装

 sudo make install 

或者使用checkinstall获取.deb包:

 sudo apt-get install checkinstall sudo checkinstall 

为了按照@ AB的post成功构建,您的系统应该满足以下依赖性。 我有Ubuntu 14.04.1 /内核3.16.0

 apt-get install libglib2.0-dev libdbus-1-dev libudev-dev libical-dev libreadline6 libreadline6-dev ./configure make make install 

如果./configureconfigure:error:systemd系统单元目录时出错 ,请尝试使用以下解决方案:mrd [original post] 。

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