alexa-samples / Alexa-Gadgets-Raspberry-Pi-Samples

This repository enables you to prototype an Alexa Gadget using Raspberry Pi. It includes Python-based software, sample projects, and step-by-step instructional guides that walk you through how to use key features of the Alexa Gadgets Toolkit to create new, engaging customer interactions with gadget devices.
Other
91 stars 29 forks source link

Does not work for Ubuntu #23

Open sfouser1 opened 3 years ago

sfouser1 commented 3 years ago

This doesn't work for Ubuntu (Ubuntu 20.04.1 LTS). That's the version I have on my Raspberry PI. The C compile fails on use of SIOCGSTAMP - that's the one used by Bluez-5.50 package. I had to install 5.53 package but the grep within launch.py looks for the particular 'if' function which has changed in the 5.53 package.

I'm trying this the first time, and this is what I found so far. Do you have a fix for a launch.py that's compatible with Bluez-5.53 and for future upgrades of these packages?

There are 3 changes that I had to do in the launch.py in order to make it work for 5.53 but that was my quick fix and not sure if this was the right approach.

Let me know.