Opened 14 years ago

Last modified 10 years ago

#6754 in-progress bug

Missing Bluetooth Headers

Reported by: scottmc Owned by: oruizdorantes
Priority: normal Milestone: Unscheduled
Component: Network & Internet/Bluetooth Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When trying to build python with bluetooth support, it can't find these four header files:

/boot/develop/haikuports/dev-lang/python/work/Python-3.2a3/Modules/socketmodule.h:52: bluetooth/rfcomm.h: No such file or directory
/boot/develop/haikuports/dev-lang/python/work/Python-3.2a3/Modules/socketmodule.h:53: bluetooth/l2cap.h: No such file or directory
/boot/develop/haikuports/dev-lang/python/work/Python-3.2a3/Modules/socketmodule.h:54: bluetooth/sco.h: No such file or directory
/boot/develop/haikuports/dev-lang/python/work/Python-3.2a3/Modules/socketmodule.h:55: bluetooth/hci.h: No such file or directory

Change History (6)

comment:1 by oruizdorantes, 14 years ago

These python bindings to bluetooth are suposed to be Linux compatible bindings?

in reply to:  1 comment:2 by scottmc, 14 years ago

Replying to oruizdorantes:

These python bindings to bluetooth are suposed to be Linux compatible bindings?

I'm not exactly sure. But during configure it determines that Haiku has bluetooth so sets HAVE_BLUETOOTH, but then when it tries to make use of it, it can't find those headers. Our work around for now it to patch it to undef HAVE_BLUETOOTH. Check in python's Modules/socketmodule.h

http://ports.haiku-files.org/browser/haikuports/trunk/dev-lang/python/patches/python-3.2a3.patch?rev=1178

comment:3 by richienyhus, 14 years ago

hci.h, sco.h and 2cap.h are part of BlueZ, the Bluetooth stack for Linux.

comment:4 by oruizdorantes, 14 years ago

Status: newin-progress

Ok, I expected.

Let's say I did not care to be BlueZ stach headers compatible. I do to be FreeBSD compatible in L2CAP layer. But yes, once everything is completed we can place some wrapper headers, be compatible, and try use external applications or libraries.

comment:5 by scottmc, 11 years ago

Any progress on this one?

comment:6 by luroh, 10 years ago

Milestone: R1Unscheduled

Moving Bluetooth related tickets out of R1 milestone.

Note: See TracTickets for help on using tickets.