Bluez Installation - configuration error for DBUS 1.6

28,846

Solution 1

Installing libdbus-1-dev fixed it for me.

Solution 2

Install the headers and libraries required for Bluez compilation:

sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-dev

For more info: https://codeyarns.com/2017/06/05/how-to-build-and-install-bluez/

Share:
28,846

Related videos on Youtube

padma_uma
Author by

padma_uma

Learnt C programming on Linux, Worked on Windows programming with VC++, fan of Linux programming.

Updated on September 18, 2022

Comments

  • padma_uma
    padma_uma over 1 year

    I am trying to install bluez 5.2 libraries on Ubuntu 12.04. while running ./configure, I received error for GLib2.0, I was able to resolve by using sudo apt get-install for GLib2. Now I am receiving the error "configure: error: D-Bus >= 1.6 is required". I have downloaded DBUS 1.8.6 and installed. but still I am receiving the same error. when checked in /etc folder i still find dbus-1. is there any installation error?

    • Braiam
      Braiam over 9 years
      Is there any reason why you need to compile bluez from sources? Did you tried just sudo apt-get build-dep bluez and compiling? Which version of Bluez are you trying to compile? Edit your question and include the complete output of ./configure.
    • padma_uma
      padma_uma over 9 years
      I am trying with bluetooth programming in Linux as a for my curriculum project.
    • muru
      muru over 9 years
      You probably need libdbus-1-dev or libdbus-c++-dev or something like that.
    • padma_uma
      padma_uma over 9 years
      I am trying to enable bluetooth (Ubuntu Version 13.10), in system settings and seeing this message "No Bluetooth Adapters found:
    • Panther
      Panther over 9 years
      You need to install the headers, the -dev packages
    • padma_uma
      padma_uma over 9 years
      the actual problem I am facing is in system settings, when I click on Bluetooth settings, it says No Bluetooth Adapters found. when I checked in terminal, I find all drivers are installed. when I invoked hcitool dev, it says no devices found. So I doubt that some settings of drivers are missing to activate Bluetooth.
  • padma_uma
    padma_uma over 9 years
    Hi all, Thanks for your suggestions and help. I am able to install Blue-z libraries. The actual problem i was facing "Bluetooth Adapter not found", was solved by switching back to windows and turning on bluetooth adapter in Windows.