LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 03-09-2019, 10:15 PM   #1
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Rep: Reputation: 12
BlueZ forum - how to"configure " bluez ?


[COLOR="Red"]WHAT IS THE POLICY OF THIS FORUM WHEN POST GETS NO ACTION IN REASONABLE TIME?
i SUSPECT KEEPING IT OPEN IS an INVIATI9OIN TO SPAM.
CAN I DELETE IT ?

[/COLOR]

I am in need of an assistance using "bluez".
I have a working / running C++ code using default "bluez "configure" .

I am trying to "configure' for crosscompling - using --host=(arm).
I am unable to find real "bluez" forum under "contacts" here http://www.bluez.org/, I am not allowed to post on "stack exchange" - they did not like my English and having no luck on Ubuntu forum.

I need to talk to somebody who knows how to "configure" bluez for SPECIFIC architecture.
Do I need more than --host= (ARM) ?



This failed:

./configure --prefix=/usr/ARM --sysconfdir=/etc --localstatedir=/var --enable-systemd --host=arm-linux-gnueabihf


Thanks

Last edited by AnneRanch; 03-10-2019 at 10:44 PM.
 
Old 03-11-2019, 08:22 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,051
Blog Entries: 13

Rep: Reputation: 3500Reputation: 3500Reputation: 3500Reputation: 3500Reputation: 3500Reputation: 3500Reputation: 3500Reputation: 3500Reputation: 3500Reputation: 3500Reputation: 3500
Quote:
Originally Posted by AnneRanch View Post
WHAT IS THE POLICY OF THIS FORUM WHEN POST GETS NO ACTION IN REASONABLE TIME?
i SUSPECT KEEPING IT OPEN IS an INVIATI9OIN TO SPAM.
CAN I DELETE IT ?
You should not have quotes around the color "Red", as you can see, the way you've done it breaks the BB code.

Quoted here is one item from the LQ Rules which discusses questions that have not received any responses:
Quote:
While almost every question does get an answer, we cannot guarantee a response. If your thread does not receive any responses, it will automatically be bumped twice.Threads should not be manually bumped without including additional information.
Meanwhile there are a large majority of rules which cover items like Spam or Advertising. If you find that a replying poster is spamming your thread, or some other inappropriate behavior, please use the Report button to raise the attention of the problem to moderators.

Also there is this note:
Quote:
Your thread may be moved to a more appropriate forum at a moderator's discretion.
Meanwhile every member may also request that their thread be moved to another LQ forum. You would use the Report button and include a statement that you would like to have your thread moved, and indicate the LQ forum where you feel it may gain better exposure.

Looks like your question is only about two days old, with an intervening weekend in the middle of it. Perhaps not too many of your fellow members have had a chance to evaluate your question.
Quote:
Originally Posted by AnneRanch View Post
I am in need of an assistance using "bluez".
I have a working / running C++ code using default "bluez "configure" .

I am trying to "configure' for crosscompling - using --host=(arm).
I am unable to find real "bluez" forum under "contacts" here http://www.bluez.org/, I am not allowed to post on "stack exchange" - they did not like my English and having no luck on Ubuntu forum.

I need to talk to somebody who knows how to "configure" bluez for SPECIFIC architecture.
Do I need more than --host= (ARM) ?



This failed:

./configure --prefix=/usr/ARM --sysconfdir=/etc --localstatedir=/var --enable-systemd --host=arm-linux-gnueabihf


Thanks
Please understand that configuration of tools is a difficult subject. I might suggest the Programming forum, or possibly the Embedded & Single Board Computer forum. However I do feel a great number of our experienced members peruse all of these forums, including Newbie where you have your question presently.

I have configured some tools and applications for cross compilation and done so with varying degrees of success or failure.

I'm not sure you need to use the term "host" since one would think that instead you would be cross compiling this for an ARM target, but perhaps I'm misunderstanding what you're trying to do.

What I believe you need to do is to specify what the GCC source is, and that would be the arm-linux-gnueabihf tools. That would be an environment setting to define the location for your GNU tools.

My first attempt would be to see if I could use the arm-linux-gnueabihf tools successfully to build for my ARM target. Have you verified that your tools will successfully build for your target?

EDIT: Some additional thoughts.

LQ Forums: Please note that under the Quick Links pull down menu, people can find Zero Reply threads, or also Recent Threads. So these threads get pushed up on those lists as replies are made to them. Or those with no replies do remain on the Zero Reply search list.

Your Issue: Seems based on the name of the compiler, you are using the Linaro tools, which are very common. Have you downloaded a pre-built version of the tools?

Last edited by rtmistler; 03-11-2019 at 08:54 AM.
 
1 members found this post helpful.
Old 03-11-2019, 10:19 AM   #3
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
Thanks, appreciate your reply.
I have been trying to gain better understanding of "configure" and MAY have jumped the gun and posted in different forum without realizing it was posted here for such short time.
My apology.

Your forum policy about "bumping" is fair, so lets leave the post here for time being.

My comment about "spam" was not directed to this forum, but I have noted other forums having hundreds of "views" and no real response. That is my reason asking about removing the post. I do not like to have a post without replies , just for sake of "archiving".

As you noted ,"configure" is not that easy to follow.
In case of "bluez" it is way to long and the instructions are VERY terse.
I understand that "try this and see" works most of the time , but it is too time consuming.
For example I ended up "purging" "bluez" , reconfiguring it to my best ( no crosscompile !) knowledge , running make @ make install.
As of now the C++ test code I had working is broken since the new "bluez" did not install.
Time to start over!

Again I do appreciate you taking time to straightening me out.



I forgot to answer your question.
I have an app which crosscompile / links and runs on target architecture.
My current "problem" is to get "bluez" running on local (X86) target.
Then I plan to include "bluez" in my working application on "remote / target " ARM architecture.

Last edited by AnneRanch; 03-11-2019 at 10:26 AM.
 
Old 03-13-2019, 01:33 PM   #4
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
HERE it is

it is not dupe of the original post
that one was about sing "configure" .

I have no issue with forum policy about multiple post, but

REMOVING MY SECOND POST IS NOT APPRECIATED










For unknown reasons using SIMPLE CLI ( Linux Ubuntu)

sudo apt install bluez

made my C++ code work on x86 architecture, great!


Now I need SAME , SIMPLE command to "install" bluez AGAIN on X86 but select ARM architecture.

First questions to solve:

Which app to instruct to retrieve from correct repository ?
"apt"?

Or
can I "ssh" to correct architecture (ARM target) and "install" on "host"( X86)?


PLEASE

After some unpleasant experiences in few forums, including this one, I find it necessary to include these instructions. Please read them carefully and PLEASE follow where applicable:

you cannot follow instructions
you do not understand the question
you have no knowledge to answer the question
your answer is “Google it”
it is your opinion my question does not belong here
the original post is in improper / poor English
the original post is improperly formatted - no code tags
if you cannot contribute to SOLUTION




IF ANY OF THE ABOVE APPLY
SAVE YOUR AND MINE TIME AND DO NOT REPLY

Have a swell day
linuxubuntu AnneRanch is online now Report This Post


PARTIALLY SOLVED
see apt option -t

Last edited by AnneRanch; 03-13-2019 at 01:39 PM.
 
Old 03-13-2019, 02:10 PM   #5
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
Install bluez by specifying repository - part 2

It looks as best way to accomplish this is to use apt-get and Wget.
The apt-get options will do nicely.

The follow-up question is

do I have to add the selected (ARM) repository to the working OS repositories list?

It would probably will easier to use again instead of lugging the whole http again.
 
Old 03-13-2019, 06:39 PM   #6
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
Install bluez by specifying repository - part 3

Next question -

The bellow command SHOULD install armhf version of bluez. but it fails


Quote:
jim@jim-desktop:~$ sudo apt-get -a=armhf install bluez
E: Command line option 'a' [from -a=armhf] is not understood in combination with the other options.
Am I using wrong syntax ?

sudo apt-get install bluez

worked fine.
 
Old 03-14-2019, 10:29 AM   #7
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
apt -a option does not work

Just a thought.
I am not so sure this format of adding to the OP is helping to attract responses.
The thread has WRONG title and if majority of users are like me – they check the title first before chasing the latest response.

Unless the post has a single answer , this discussion thread format is not that easy to follow.


If each logical step to the solution would have its OWN thread with descriptive title it would help the user.
After all - the forum purpose is to help users.
The forum does not exists to keep administrators "make busy".


Back to the issue :

Checking man apt it appears that option “-a= architecture” is bogus.
There is an ancient bug report about it.
Not only it does not work, but gives wrong ,misleading error.

Switching to Wget.
 
Old 03-14-2019, 03:36 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,501
Blog Entries: 9

Rep: Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389
Quote:
Originally Posted by AnneRanch View Post
I am not so sure this format of adding to the OP is helping to attract responses.
The thread has WRONG title and if majority of users are like me – they check the title first before chasing the latest response.

Unless the post has a single answer , this discussion thread format is not that easy to follow.

If each logical step to the solution would have its OWN thread with descriptive title it would help the user.
i strongly suspect that the reason you're not getting any responses is because you asked for it:
Quote:
Originally Posted by AnneRanch View Post
you cannot follow instructions
you do not understand the question
you have no knowledge to answer the question
your answer is “Google it”
it is your opinion my question does not belong here
the original post is in improper / poor English
the original post is improperly formatted - no code tags
if you cannot contribute to SOLUTION

IF ANY OF THE ABOVE APPLY
SAVE YOUR AND MINE TIME AND DO NOT REPLY
my reply would likely fall into several of these categories...

Quote:
Switching to Wget.
that is very probaly a mistake.
 
3 members found this post helpful.
  


Closed Thread

Tags
bluez


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
BlueZ-4.58 is installed, but bluetoothd is not running, says "Unable to get on D-Bus" deepthits Linux - Wireless Networking 3 12-10-2009 01:18 AM
Copying a phpbb3 forum contents to a different forum; no admin access on source forum Maligree General 1 08-11-2008 11:45 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
"bluetooth" rather than "bluez" triona Linux - Software 2 02-08-2005 03:57 PM
When you went into a forum it used to say "you have made x posts in this forum"... Whitehat LQ Suggestions & Feedback 12 02-01-2004 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration