LinuxQuestions.org
Review your favorite Linux distribution.
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


Reply
  Search this Thread
Old 03-17-2013, 12:32 PM   #1
JoeStrout
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Rep: Reputation: Disabled
Question how to solve "Package bluez was not found" error?


Linux newbie here -- I'm running Debian armel on a Raspberry Pi, and attempting to get a PS3 DualShock controller set up following these instructions.

The problem comes when I attempt to make sixad. I get this output:

Code:
pi@raspberrypi ~/QtSixA-1.5.1/sixad $ make
mkdir -p bins
g++ -O2 -Wall -Wl,-Bsymbolic-functions sixad-bin.cpp bluetooth.cpp shared.cpp textfile.cpp -o bins/sixad-bin `pkg-config --cflags --libs bluez` -lpthread -fpermissive
Package bluez was not found in the pkg-config search path.
Perhaps you should add the directory containing `bluez.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bluez' found
In file included from sixad-bin.cpp:18:0:
bluetooth.h:21:33: fatal error: bluetooth/bluetooth.h: No such file or directory
compilation terminated.
In file included from bluetooth.cpp:18:0:
bluetooth.h:21:33: fatal error: bluetooth/bluetooth.h: No such file or directory
compilation terminated.
make: *** [sixad_bins] Error 1
I tried doing a "sudo apt-get install bluez", but this told me "bluez is already the newest version" (and of course made no difference to the make problem).

So it seems that I have bluez, but for some reason make can't find it... but as a Linux noob, I'm stumped at this point. Any suggestions?
 
Old 03-17-2013, 01:07 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
from the above link you didnt following instructions so it would seem:

Code:
sudo apt-get install bluez-utils bluez-compat bluez-hcidump checkinstall libusb-dev  libbluetooth-dev joystick
If you only attempted to install bluez, you are wrong, you need to just copy/paste the above line into your command line for the RPi.

Note bluez does not equal bluez-utilsd etc... Sadly Im not as familiar with apt-get as I am with yum. In yum you could just
Code:
yum -y install bluez*
and grab em all, not sure if you can do that with apt or not. Either way just copy/paste the above into your terminal window for the RPi and you should be good. If not copy/paste the entire output here in code flag for us.

Also you might want to post this in the official RPi forums:

http://www.raspberrypi.org/phpBB3

but mind you about the RPI forums, they dont like it when you speak the truth about things that are broke, mishandled, etc..., and they will ban you for telling the truth even in a polite way.

Last edited by lleb; 03-17-2013 at 01:09 PM.
 
Old 03-17-2013, 05:02 PM   #3
JoeStrout
LQ Newbie
 
Registered: Mar 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
from the above link you didnt following instructions so it would seem:

Code:
sudo apt-get install bluez-utils bluez-compat bluez-hcidump checkinstall libusb-dev  libbluetooth-dev joystick
Argh! I posted the wrong link -- the actual source I was following was the same content but at this site. On that page, there is a line break on the apt-get install command right after bluez-hcidump, and so I didn't get checkinstall through joystick... and somehow didn't even realize I'd missed them.

I thought this was some deep arcane Linux problem with my distro or some such, when it was really just a PEBKAC.

Quote:
Also you might want to post this in the official RPi forums:

http://www.raspberrypi.org/phpBB3

but mind you about the RPI forums, they dont like it when you speak the truth about things that are broke, mishandled, etc..., and they will ban you for telling the truth even in a polite way.
Ain't that the truth? I've been trying to point out how silly it is that their standard/recommended distro is broken (incompatible with both Java and Mono, which covers 2 of the top 5 languages), but it's like talking to a brick wall.

However, I can tell that you all in this forum are friendly and helpful, just as claimed on the home page. I hope one day I'll know enough Linux to pass that good karma along to the next newbie who comes along.
 
  


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
sudo to solve this error "tar: Error exit delayed from previous errors" ? xombboxer Linux - Newbie 7 03-13-2012 02:26 AM
How to solve [version conflict for package "Tcl"] anasnet Linux - Networking 11 12-29-2011 08:47 AM
How to solve "Couldn't find package compiz-fusion" amritpalpathak Linux - Software 1 02-28-2010 03:52 AM
LFS6.3 - Ch5.4.1 "/bin/sh sort not found" error at "make bootstrap" ubyt3m3 Linux From Scratch 2 06-23-2008 12:09 AM
LXer: Solve the error: "current dist not found in meta-release" and upgrade to Gutsy LXer Syndicated Linux News 0 09-08-2007 05:00 AM

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

All times are GMT -5. The time now is 08:02 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