LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling and Deploying Bluez 4.x (Bluetooth Protocol Stack) (https://www.linuxquestions.org/questions/linux-software-2/compiling-and-deploying-bluez-4-x-bluetooth-protocol-stack-4175472059/)

linuxbawks 08-04-2013 09:30 AM

Compiling and Deploying Bluez 4.x (Bluetooth Protocol Stack)
 
I have a question, what are the correct options to pass to configure when compiling the Bluez package from source?

Using --prefix=/usr, configure wants to put files in /usr/etc/bluetooth, /usr/var.

knudfl 08-04-2013 11:44 AM

Please do : $ ./configure --help

.. To find : --sysconfdir=DIR read-only single-machine data [PREFIX/etc]

.. which means you will have to do : $ ./configure --sysconfdir=/etc/
to get the "etc files" installed to /etc.

-

linuxbawks 08-04-2013 01:21 PM

Thanks, have had to manually set the envionment as follows:

Code:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

knudfl 08-04-2013 03:02 PM

Did you check "./configure --help" ?

A typical configuration would be like ...
Code:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
                --enable-cups \
                --enable-dfutool \
                --enable-tools \
                --enable-bccmd \
                --enable-gstreamer \
                --enable-hidd \
                --enable-pand \
                --enable-dund \
                --enable-hid2hci \
                --enable-pcmcia \
                --enable-udevrules \
                --enable-capng



All times are GMT -5. The time now is 11:59 PM.