LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Error when ./configuring kdebluetooth;libbluetooth missing, but I have it! (http://www.linuxquestions.org/questions/slackware-14/error-when-configuring-kdebluetooth%3Blibbluetooth-missing-but-i-have-it-536500/)

kummiliim 03-11-2007 07:21 AM

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.

pbhj 03-11-2007 09:19 AM

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

tobyl 03-11-2007 09:26 AM

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

kummiliim 03-11-2007 09:40 AM

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.

kummiliim 03-11-2007 10:24 AM

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.

XGizzmo 03-11-2007 10:36 AM

Whenever you install something its a good idea to run ldconfig so the linker can find any newly installed libs.

kummiliim 03-11-2007 10:51 AM

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.


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