Opened 9 years ago

Last modified 5 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:
Has a Patch: no 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 Changed 9 years ago by oruizdorantes

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

comment:2 in reply to:  1 Changed 9 years ago by scottmc

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 Changed 9 years ago by richienyhus

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

comment:4 Changed 9 years ago by oruizdorantes

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 Changed 6 years ago by scottmc

Any progress on this one?

comment:6 Changed 5 years ago by luroh

Milestone: R1Unscheduled

Moving Bluetooth related tickets out of R1 milestone.

Note: See TracTickets for help on using tickets.