"gcc: fatal error: cannot execute 'cc1':; execvp: no such file or directory" when trying to flash

I'm using a fresh flash of RatOS 2.0.2 on a rpi4 and the configurator says that octopus 1.1 is detected but klipper not detected. When I try to flash it, it just gets back to it. I opened the devtools and found the error in the terminal:
TRPCClientError: Command failed: /home/pi/klippy-env/bin/python /home/pi/ratos-configurator/scripts/check-version.py /dev/btt-octopus-11
gcc: fatal error: cannot execute ‘cc1’: execvp: No such file or directory
compilation terminated.
NextJS 56
Caused by: undefined
TRPCClientError: Command failed: /home/pi/klippy-env/bin/python /home/pi/ratos-configurator/scripts/check-version.py /dev/btt-octopus-11
gcc: fatal error: cannot execute ‘cc1’: execvp: No such file or directory
compilation terminated.
NextJS 56
Caused by: undefined
The board should have klipper all ready to go, since this is simply a reinstall of RatOS on top of an old install and old hardware.
No description
Solution:
ok, the issue seemed to be that going to the link http://ratos.local/configure?step=1 skipped the wifi configuration completely, and was trying to operate without a proper wifi connection
Jump to solution
4 Replies
Solution
wolfie
wolfie2mo ago
ok, the issue seemed to be that going to the link http://ratos.local/configure?step=1 skipped the wifi configuration completely, and was trying to operate without a proper wifi connection
wolfie
wolfieOP2mo ago
redoing that step helped detect the board, and even if the "continue" and "flash" options were blinking in the UI, with a well-timed "next" I managed to get through
miklschmidt
miklschmidt2mo ago
I recommend moving to RatOS 2.1 where all of these issues have been fixed. Klipper needs an internet connection to compile it's chelper library for some reason in 2.1 it's precompiled
wolfie
wolfieOP2mo ago
I downloaded the latest version the documentation linked to yesterday. But I'll look into that, thanks!
Want results from more Discord servers?
Add your server