bash: line 1: path: cannot execute: required file not found
Posted: Tue Apr 02, 2024 8:22 pm
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:
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