Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build gattool without bluez #2

Open
msnyder415 opened this issue Sep 8, 2015 · 0 comments
Open

build gattool without bluez #2

msnyder415 opened this issue Sep 8, 2015 · 0 comments

Comments

@msnyder415
Copy link

Hi !

I am running into some errors while building gattool.
I already have bluez installed on my RPI.

Is there a way to tell pip to skip bluez, and use what is installed?
Here are the errors


src/bluez/attrib/utils.c: In function ‘gatt_connect’:

src/bluez/attrib/utils.c:66:15: error: ‘BDADDR_LE_RANDOM’ undeclared (first use in this function)

src/bluez/attrib/utils.c:66:15: note: each undeclared identifier is reported only once for each function it appears in

src/bluez/attrib/utils.c:68:15: error: ‘BDADDR_LE_PUBLIC’ undeclared (first use in this function)

error: command 'gcc' failed with exit status 1

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/pi/scratch/s/build/gattlib/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-gehr1y-record/install-record.txt failed with error code 1 in /home/pi/scratch/s/build/gattlib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant