fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.33k stars 306 forks source link

can't build files with make #579

Closed gnmdrive closed 4 months ago

gnmdrive commented 8 months ago

hello, I can't build the project, this is the output of make:

make: uname: No such file or directory
building object obj/src/main.o
make: mkdir: No such file or directory
make: *** [makefile:51: obj/src/main.o] Error 127 

I don't understand why, can someone help me?

anton-ptashnik commented 6 months ago

build script cannot find Linux commands uname and mkdir, I suspect your PATH environment variable may be incomplete. Please open your terminal, cd into the repo dir and try:

cd /path/to/ly
PATH="/usr/bin:/bin:$PATH" # fix to locate missing commands
make

If it works then you need to make a permanent fix to restore your PATH

AnErrupTion commented 4 months ago

This issue doesn't look like an Ly issue. However, even if it was, the Zig rewrite uses the Zig build system which doesn't use those commands, so this issue should be fixed regardless.