Page 1 of 1

bash: line 1: path: cannot execute: required file not found

Posted: Tue Apr 02, 2024 8:22 pm
by nicolacarola2
I am running nixos, I managed to install the devkitpro toolchain by installing the docker image, and the copying /opt into a nix package.
I set both DEVKITPRO and DEVKITARM environment variables to the correct location. I am running x64 linux with kernel 6.8.1

This is what happens when I run `make` into the provided hello-world example:

Code: Select all

main.c
bash: line 1: /nix/store/ix35sc3wjqbv0xsgkc8sqwv5qwv5jqlq-devkitpro-1.0.0/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc: cannot execute: required file not found
make[1]: *** [/nix/store/ix35sc3wjqbv0xsgkc8sqwv5qwv5jqlq-devkitpro-1.0.0/opt/devkitpro/devkitARM//base_rules:39: main.o] Error 127
make: *** [Makefile:165: all] Error 2

Re: bash: line 1: path: cannot execute: required file not found

Posted: Tue Apr 09, 2024 9:11 pm
by WinterMute
Either use the docker image directly or choose a different linux distro. nixos is impossible for us to support directly.