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

Unable to download software to raspberry pi #261

Open
lcarletti88 opened this issue Mar 18, 2024 · 9 comments
Open

Unable to download software to raspberry pi #261

lcarletti88 opened this issue Mar 18, 2024 · 9 comments

Comments

@lcarletti88
Copy link

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
Copy link
Owner

EspoTek commented Mar 18, 2024

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
Copy link
Author

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

espotek_log.txt

@EspoTek
Copy link
Owner

EspoTek commented Mar 19, 2024

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
Copy link
Author

No worries, here's the new file.

espotek_log.txt

@EspoTek
Copy link
Owner

EspoTek commented Mar 19, 2024

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
Copy link
Author

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
Copy link
Owner

EspoTek commented Mar 21, 2024

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
Copy link

DeeJay commented Mar 21, 2024

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
Copy link
Author

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

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

3 participants