LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-11-2007, 07:21 AM   #1
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Rep: Reputation: 30
Error when ./configuring kdebluetooth;libbluetooth missing, but I have it!


Have been trying to get bluetooth to work for a while.

I download/untar/./config/make/make install the following:
dbus-1.0.2
bluez-libs-3.9
bluez-utils-3.9
bluez-firmware-1.2
bluez-hcidump-1.34
openobex-1.3

Then I try installing kde bluetooth framework (kdebluetooth-1.0_beta2)
start the ./configure
finally get
Code:
checking for libbluetooth... no
configure: error: libbluetooth is required to build kdebluetooth - part of bluez-libs
Yet I have just installed bluez-libs
I think the files it wants are those in /usr/src/lib
Code:
drwxr-xr-x 3 root root   4096 2007-03-11 13:23 dbus-1.0/
-rw-r--r-- 1 root root  75260 2007-03-11 13:26 libbluetooth.a
-rwxr-xr-x 1 root root    827 2007-03-11 13:26 libbluetooth.la*
lrwxrwxrwx 1 root root     21 2007-03-11 13:26 libbluetooth.so -> libbluetooth.so.2.5.0*
lrwxrwxrwx 1 root root     21 2007-03-11 13:26 libbluetooth.so.2 -> libbluetooth.so.2.5.0*
-rwxr-xr-x 1 root root  84881 2007-03-11 13:26 libbluetooth.so.2.5.0*
-rw-r--r-- 1 root root 838334 2007-03-11 13:23 libdbus-1.a
-rwxr-xr-x 1 root root    806 2007-03-11 13:23 libdbus-1.la*
lrwxrwxrwx 1 root root     18 2007-03-11 13:23 libdbus-1.so -> libdbus-1.so.3.2.0*
lrwxrwxrwx 1 root root     18 2007-03-11 13:23 libdbus-1.so.3 -> libdbus-1.so.3.2.0*
-rwxr-xr-x 1 root root 542350 2007-03-11 13:23 libdbus-1.so.3.2.0*
-rw-r--r-- 1 root root  46620 2007-03-11 13:51 libopenobex.a
-rwxr-xr-x 1 root root    855 2007-03-11 13:51 libopenobex.la*
lrwxrwxrwx 1 root root     20 2007-03-11 13:51 libopenobex.so -> libopenobex.so.1.3.0*
lrwxrwxrwx 1 root root     20 2007-03-11 13:51 libopenobex.so.1 -> libopenobex.so.1.3.0*
-rwxr-xr-x 1 root root  39812 2007-03-11 13:51 libopenobex.so.1.3.0*
drwxr-xr-x 2 root root   4096 2007-03-11 13:51 pkgconfig/
I'm not sure about the extentions but it seems to be there as you see, so I try
Code:
root@SANDER:/usr/src/kdebluetooth-1.0_beta2# ./configure --with-bluetooth=/usr/local/lib/  --with-bluetooth-libraries=/usr/local/lib/ --with-bluetooth-includes=/usr/local/lib/
which are indicated in ./config --help but still, nothing. I have no idea what's wrong, maybe you can help.
 
Old 03-11-2007, 09:19 AM   #2
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
What does the config.log file say? It's usually created when a configure script runs. Failing that you could try looking in the configure script to see where the error message you're getting is and track back to the condition it checks for.

Also "ldconfig -p | grep blue" will tell you all the libraries the build system knows of that have "blue" in their name.

Sorry this is generic. Don't have bluetooth. HTH
 
Old 03-11-2007, 09:26 AM   #3
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 51
you seem to have installed bluez-libs in /usr/src/lib

this is not the normal place!

you configured kdebluetooth to look in /usr/local/lib, so install the bluez libs there.

tobyl
 
Old 03-11-2007, 09:40 AM   #4
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by tobyl
you seem to have installed bluez-libs in /usr/src/lib

this is not the normal place!

you configured kdebluetooth to look in /usr/local/lib, so install the bluez libs there.

tobyl
Whoops, sorry. That was a typo, I'm afraid. They're still in /usr/local/lib.

Quote:
Originally Posted by pbhj
What does the config.log file say? It's usually created when a configure script runs. Failing that you could try looking in the configure script to see where the error message you're getting is and track back to the condition it checks for.

Also "ldconfig -p | grep blue" will tell you all the libraries the build system knows of that have "blue" in their name.

Sorry this is generic. Don't have bluetooth. HTH
Will check all that right away...

edit: Heh, I configured to get the log but instead it configured perfectly this time : D. Found libbluetooth and everything. Wonder why, something to do with rebooting probably. Guess it's poblem solved, thanks.

Last edited by kummiliim; 03-11-2007 at 09:44 AM.
 
Old 03-11-2007, 10:24 AM   #5
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Original Poster
Rep: Reputation: 30
I've made more then enough new threads here today so I'll continue my bluetooth problem here.
I installed Kbluetooth and Kmobiletools, bring the dongle up with
Code:
hciconfig hci0 up
and find my mobile with
Code:
hcitool scan
. When I try to pair it with Kbluetooth pairing wizard, the wizard crashes. I formaly though that that was caused by the broken config yet it's still there. It might as well be, that It's only because I'm using Kdebluetooth beta but if someone has any experience with the subject, help is more then welcome. So far the tutorials haven't helped me make it work yet.

edit: The phone can't find the computer, computer can find the phone but can't pair with it. I can list the phones services with kbluetooth and if I use them, the phone says that comp wants to pair. I can insert the pin in phone yet nothing happens in computer. I'm using kbluepin as a pin helper but I haven't had any luck with others eighter.

Last edited by kummiliim; 03-11-2007 at 10:30 AM.
 
Old 03-11-2007, 10:36 AM   #6
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 68
Whenever you install something its a good idea to run ldconfig so the linker can find any newly installed libs.
 
Old 03-11-2007, 10:51 AM   #7
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by XGizzmo
Whenever you install something its a good idea to run ldconfig so the linker can find any newly installed libs.
Thanks, I'll keep that in mind.
Now where might I find the /init.d/bluetooth that should come with bluez-utils. It's in all the tutorials yet I can't find it. Should be /etc/init.d but it's not.

edit: The main problem right now is pairing. I can't make the computer react (pin_helper) to when the phone tries to pair with it.

edit2: At least now the phone can see the computer. I enabled all options from hciconfig.

edit3: The pairing simply times out. Gonna try some different channels.

Last edited by kummiliim; 03-11-2007 at 01:36 PM.
 
  


Reply

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
NTLDR missing while configuring dualboot pazkaw Linux - Newbie 9 08-23-2004 05:05 PM
KDEbluetooth howto noyz Linux - Newbie 4 03-26-2004 06:07 AM
Configuring modem - modversions.h is missing drcyber Linux - Newbie 15 11-02-2003 09:50 AM
libglide2x.so missing when configuring XFree86 rberry88 Linux - Newbie 2 09-18-2003 09:52 PM


All times are GMT -5. The time now is 10:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration