guysoft / OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web
GNU General Public License v3.0
2.48k stars 367 forks source link

gcc-arm-none-eabi #754

Closed SphaeroX closed 2 years ago

SphaeroX commented 2 years ago

What were you doing?

Install Klipper on a fresh 0.18 OctoPi

What did you expect to happen?

gcc-arm-none-eabi should be pre-installed

What happened instead?

pi@octopi:~/klipper $ make Creating symbolic link out/board Building out/autoconf.h Compiling out/src/sched.o make: arm-none-eabi-gcc: Command not found make: *** [Makefile:64: out/src/sched.o] Error 127

guysoft commented 2 years ago

Hey, I am just in the process of releasing this if that helps you: https://github.com/guysoft/OctoPi-Klipper

SphaeroX commented 2 years ago

First of all, thank you for your work.

I do not know if a Klipper version makes sense, actually OctoPi is missing only gcc-arm-none-eabi, then it works perfectly with Klipper.

Doesn't it make more sense to install gcc-arm-none-eabi and keep OctoPi itself up-to-date? Especially things like #753

cp2004 commented 2 years ago

There's quite a few dependencies that Klipper installs for itself in the scripts:

https://github.com/Klipper3d/klipper/blob/cf4bfb11193525b06421b44d26ae041642d2a92f/scripts/install-octopi.sh#L11-L20

Why this one? It looks like it should be installed by the scripts in Klipper already?

SphaeroX commented 2 years ago

Ahh right, when I first installed clipper the error came like #753. but then I wanted to compile the .bin for the mcu in advance.

The ticket here can be closed, the problem is with #753

guysoft commented 2 years ago

The issue #753 is a rpi os issue which I can't fix: https://github.com/RPi-Distro/pi-gen/issues/546

OctoPi is intentionally kept small and lightweight. OctoP-Klipper is shipped with all the stuff that Klipper need and is built on top of OctoPi