When compiling bluez-utils-3.36, encountered a very headache problem, is dead and alive can not find D-bus, obviously has been compiled to complete, and has been successful, the path is also specified, but is not found. Network also looked for a long time or can not solve, finally see. pc file article, suddenly feel is not it is the problem. Just give it a try.
First we find D-bus's installation directory, I use XXXXXX instead. Enter the Xxxxxx/lib/pkgconfig, Then you will find some. pc files, see if there are bluez.pc and dbus-1.pc these two files, if bluez-libs-3.36 and dbus-1.8.10 compiled successfully, then this directory will have this file, if not the glib-2.28.6 also compiled.
Then copy the two files to the/usr/lib/pkgconfig directory and make sure to back up the/usr/lib/pkgconfig before copying it.
After the copy, then configure bluez-utils-3.36 try, is not OK, O (∩_∩) O.
You can also use this method to troubleshoot problems if you encounter other similar situations.
Compiled bluez-utils-3.36, dead and alive can't find the solution to BlueZ D-bus