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

support for the ARM toolchain
Post Reply
nicolacarola2
Posts: 1
Joined: Tue Apr 02, 2024 8:15 pm

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

Post by nicolacarola2 » 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:

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

WinterMute
Site Admin
Posts: 1868
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

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

Post by WinterMute » Tue Apr 09, 2024 9:11 pm

Either use the docker image directly or choose a different linux distro. nixos is impossible for us to support directly.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest