LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-04-2013, 10:30 AM   #1
linuxbawks
Member
 
Registered: Apr 2013
Distribution: Snuckware
Posts: 240

Rep: Reputation: 17
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.
 
Old 08-04-2013, 12:44 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,439

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
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.

-
 
Old 08-04-2013, 02:21 PM   #3
linuxbawks
Member
 
Registered: Apr 2013
Distribution: Snuckware
Posts: 240

Original Poster
Rep: Reputation: 17
Thanks, have had to manually set the envionment as follows:

Code:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
 
Old 08-04-2013, 04:02 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,439

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
newer versions of Bluetooth protocol stack for Linux ( aka BlueZ ) xavi_slacky Slackware 2 07-15-2013 12:17 PM
Problem compiling BlueZ stack on ARM ( cross compilation from linux x86) shilpates Linux - Wireless Networking 1 08-20-2008 04:02 AM
problem in Bluez bluetooth stack sonijindal Linux - Hardware 0 02-26-2007 09:05 AM
BlueTooth Bluez-utils porting dubrick_vit Linux - Software 2 01-29-2006 04:08 AM
USB bluetooth w/ bluez on 2.6.8.1 (slackware 10) mo0 Slackware 0 10-03-2004 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration