The autoconf/configure mechanism seems to lead to a configure script searching for an include file "bluetooth.h" in /usr/include/bluetooth/, but the respective file needed is in /usr/include/ directly.
Therefore, configure disables any bluetooth support for gammu:
checking for bluez... no
checking bluetooth/bluetooth.h usability... no
checking bluetooth/bluetooth.h presence... no
checking for bluetooth/bluetooth.h... no
configure: creating ./config.status
[ ... ]
Phone protocols with Bluetooth stack
AT commands - no
Nokia FBUS2 - no
Nokia PHONET FBUS - no
OBEX - no
This leads, when a bluetooth device is configured, to an error message:
"Some functions not available for your OS (disabled in config or not written)."
As a _workaround_, I have added a symling from /usr/include/bluetooth/bluetooth.h to /usr/include/bluetooth.h as I do not know autoconf -- this is surely no fix for the port, though.
How-To-Repeat: Build gammu from portversion 1.02.0.
Create a ~/.gammurc, setting a connection type using bluetooth, e.g. "bluerfphonet"
Start "gammu --identify"
Maintainer of comms/gammu,
Please note that PR ports/88660 just has been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
On Tue, Nov 08, 2005 at 12:33:17PM +0000, Edwin Groothuis wrote:
> Maintainer of comms/gammu,
> Please note that PR ports/88660 just has been submitted.
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> The full text of the PR can be found at:
> Edwin Groothuis
Kirill Bezzubets CASE-RIPE CASE-RIPN
CTO / Head Of N.O.C. mailto:email@example.com
Solaris ISP & Telecommunications Co. Ltd http://www.solaris.ru
Thanks for the quick fix. I have not been able to apply the patch as
displayed in the web PR viewer, but doing that change to configure.in
manually led to a working bluetooth support, so this seems to be the way to
Thanks & best regards,
Query a PGP key server (e.g. http://www.pgp.net/) for my public key 41068629.
Strange sender address? Please see http://www.thiemo.net/misc/list-mail.shtml
Committed (and bumped PORTREVISION), thanks!