EspoTek / Labrador

EspoTek Labrador is a USB device that transforms your PC or smartphone into a fully-featured electronics lab. This repo holds all of the source code!
http://espotek.com
1.1k stars 116 forks source link

Unable to download software to raspberry pi #261

Open lcarletti88 opened 5 months ago

lcarletti88 commented 5 months ago

I am trying to download the labrador software to a raspberry pi, I've followed the instructions for the raspberry pi build, which is just to copy the following command into a terminal

wget -O /tmp/labrador_bootstrap_pi https://raw.githubusercontent.com/EspoTek/Labrador/master/labrador_bootstrap_pi && sudo chmod +x /tmp/labrador_bootstrap_pi && sudo /tmp/labrador_bootstrap_pi

However when I run into the following error

make: g++-8.1.0: No such file or directory make: *** [Makefile:793: buffercontrol.o] Error 127

It seems make is unable to find the compiler in the location specified by $PATH. I've ensured the compiler named "g++-8.1.0" does exist in the place described by $PATH with no typos. I am unsure where to go from here.

Link to raspberry pi bootstrap code for convenience: https://raw.githubusercontent.com/EspoTek/Labrador/master/labrador_bootstrap_pi

Thank you in advance

EspoTek commented 5 months ago

This is a little bit concerning. Are you able to provide a full terminal dump?

The following command will generate the dump and save it to "espotek_log.txt" in your home directory: wget -O /tmp/labrador_bootstrap_pi https://raw.githubusercontent.com/EspoTek/Labrador/master/labrador_bootstrap_pi && sudo chmod +x /tmp/labrador_bootstrap_pi && sudo /tmp/labrador_bootstrap_pi > ~/espotek_log.txt

lcarletti88 commented 5 months ago

Thanks for the response, I've attached the dump.

espotek_log.txt

EspoTek commented 5 months ago

Sorry, my bad! The log command I gave earlier logs messages but not errors. Extremely un-useful!

Correct command is: wget -O /tmp/labrador_bootstrap_pi https://raw.githubusercontent.com/EspoTek/Labrador/master/labrador_bootstrap_pi && sudo chmod +x /tmp/labrador_bootstrap_pi && sudo /tmp/labrador_bootstrap_pi > ~/espotek_log.txt 2>&1

lcarletti88 commented 5 months ago

No worries, here's the new file.

espotek_log.txt

EspoTek commented 5 months ago

Bizarre.

It looks like you have a partial install of the gcc version that Labrador uses. I don't know how that happened. Try running the following command then trying again: sudo rm -rf /usr/local/gcc-8.1.0-labrador

lcarletti88 commented 5 months ago

I'm still getting the same error, I've attached the dump although it looks mostly the same barring it acknowledges the gcc is not already installed. I may try to factory reset the pi tomorrow and try again.

espotek_log2.txt

EspoTek commented 5 months ago

I've received an email from another customer who has mentioned their journey getting it to run. Are you on the 64-bit version of Raspbian? That's currently unsupported, and I should probably get around to that...

DeeJay commented 5 months ago

This is 'the other customer'.

Note the emphasised text in the README under the Raspberry Pi heading: "Please note that the 32-bit version of Raspbian version 9 (Stretch) or later is required to install this software."

My recent experience is that with the 32-bit (armhf) version of the current Bookworm [Debian 12] release of the supported Raspberry Pi Operating System [RasPiOS] the supplied labrador-bootstrap-pi script runs to completion without error, producing and installing a runnable version of the Labrador app.

lcarletti88 commented 5 months ago

Thank you both. I was using a 64 but OS. I misinterpreted "or later" as including a newer 64 bit version would also be fine, I'm not an expert by any means with this stuff.

Appreciate the help