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?
[EMAIL PROTECTED] pybluez-0.9.2]$ python setup.py install
running install
running build
running build_py
running build_ext
building '_bluetooth' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586
-mtune=pentiumpro -fasynchronous-unwind-tables -g -fPIC
-I/usr/include/python2.4 -c bluez/btmodule.c -o build/temp.linux-i686-2.4
/bluez/btmodule.o
Assembler messages:
FATAL: can't create build/temp.linux-i686-2.4/bluez/btmodule.o: Permission
denied
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
In file included from bluez/btmodule.c:44:
bluez/btsdp.h:9: error: expected specifier-qualifier-list before
'sdp_session_t'
bluez/btmodule.c: In function 'makesockaddr':
bluez/btmodule.c:213: error: 'BTPROTO_HCI' undeclared (first use in this
function)
bluez/btmodule.c:213: error: (Each undeclared identifier is reported only
once
bluez/btmodule.c:213: error: for each function it appears in.)
bluez/btmodule.c:216: error: dereferencing pointer to incomplete type
bluez/btmodule.c:218: error: 'BTPROTO_L2CAP' undeclared (first use in this
function)
bluez/btmodule.c:221: error: dereferencing pointer to incomplete type
bluez/btmodule.c:222: error: dereferencing pointer to incomplete type
bluez/btmodule.c:224: error: 'BTPROTO_RFCOMM' undeclared (first use in this
function)
bluez/btmodule.c:227: error: dereferencing pointer to incomplete type
bluez/btmodule.c:228: error: dereferencing pointer to incomplete type
Regards,
Pranav
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________