LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   BlueZ forum - how to"configure " bluez ? (https://www.linuxquestions.org/questions/linux-newbie-8/bluez-forum-how-to-configure-bluez-4175649889/)

AnneRanch 03-09-2019 10:15 PM

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

rtmistler 03-11-2019 08:22 AM

Quote:

Originally Posted by AnneRanch (Post 5972241)
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 (Post 5972241)
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?

AnneRanch 03-11-2019 10:19 AM

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.

AnneRanch 03-13-2019 01:33 PM

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

AnneRanch 03-13-2019 02:10 PM

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.

AnneRanch 03-13-2019 06:39 PM

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.

AnneRanch 03-14-2019 10:29 AM

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.

ondoho 03-14-2019 03:36 PM

Quote:

Originally Posted by AnneRanch (Post 5973820)
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 (Post 5973486)
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.


All times are GMT -5. The time now is 02:57 AM.