tce-load -i compiletc dbus-dev libical-dev readline-dev libudev-dev https://www.kernel.org/pub/linux/bluetooth/bluez-5.54.tar.xz cd bluez-5.54 patch -Np1 -i ../bluez-5.43_RPi3.patch patch -Np0 -i ../bluez-5.54_firmware_loc.patch LIBS="-lncursesw" CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --libexecdir=/usr/local/lib --disable-systemd --enable-library --enable-testing --enable-deprecated checking for udev_hwdb_new in -ludev... no checking udev directory... Package udev was not found in the pkg-config search path. Perhaps you should add the directory containing `udev.pc' [copy udev.pc from x86_64] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install sudo install -dm755 /usr/local/etc/bluetooth sudo install -m644 src/main.conf /usr/local/etc/bluetooth/main.conf sudo install -m644 profiles/input/input.conf /usr/local/etc/bluetooth/input.conf sudo install -m644 profiles/network/network.conf /usr/local/etc/bluetooth/network.conf