Pranav Sanghadia ([EMAIL PROTECTED]) wrote:
> Hi,
> 
> I download pybluez-src-latest.tar.gz and tried to build/install PyBlueZ but
> I got following errors, can any one please help me?
What version of Mandriva are you running ?
Looks like you need the header files, install  libbluez2-devel

# urpmq -i libbluez2-devel
Name        : libbluez2-devel
Version     : 3.4
Release     : 2mdv2007.0
Group       : Development/C++
Size        : 345945                       Architecture: i586
Source RPM  : bluez-3.4-2mdv2007.0.src.rpm   Build Host:
n5.mandriva.com
Packager    : Iurt the rebuild bot <[EMAIL PROTECTED]>
URL         : http://bluez.sourceforge.net
Summary     : Headers for developing programs that will use bluez
Description :
This package contains the headers that programmers will need to
develop applications which will use libraries from bluez.

it will supplies the files your missing:

> In file included from bluez/btmodule.c:20:
> bluez/btmodule.h:5:33: error: bluetooth/bluetooth.h: No such file or
> directory
> bluez/btmodule.h:6:27: error: bluetooth/sdp.h: No such file or directory
> bluez/btmodule.h:7:31: error: bluetooth/sdp_lib.h: No such file or directory
> In file included from bluez/btmodule.c:20:
> bluez/btmodule.h:35: error: expected specifier-qualifier-list before
> 'sdp_session_t'
> bluez/btmodule.c:36:27: error: bluetooth/hci.h: No such file or directory
> bluez/btmodule.c:37:31: error: bluetooth/hci_lib.h: No such file or
> directory
> bluez/btmodule.c:38:30: error: bluetooth/rfcomm.h: No such file or directory
> bluez/btmodule.c:39:29: error: bluetooth/l2cap.h: No such file or directory
> bluez/btmodule.c:40:27: error: bluetooth/sco.h: No such file or directory

# urpmq -l libbluez2-devel
/lib/libbluetooth.a
/lib/libbluetooth.la
/lib/libbluetooth.so
/usr/include/bluetooth
/usr/include/bluetooth/bluetooth.h
/usr/include/bluetooth/bnep.h
/usr/include/bluetooth/cmtp.h
/usr/include/bluetooth/hci.h
/usr/include/bluetooth/hci_lib.h
/usr/include/bluetooth/hidp.h
/usr/include/bluetooth/l2cap.h
/usr/include/bluetooth/rfcomm.h
/usr/include/bluetooth/sco.h
/usr/include/bluetooth/sdp.h
/usr/include/bluetooth/sdp_lib.h
/usr/lib/pkgconfig/bluez.pc
/usr/share/aclocal/bluez.m4
/usr/share/doc/libbluez2-devel-3.4
/usr/share/doc/libbluez2-devel-3.4/AUTHORS

HTH  =)
--
RickS
Do not follow where the path may lead. Go instead where there is no
path and leave a trail. -- Ralph Waldo Emerson
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to