Hmm, I’m not super familiar with arch. Are you compiling from a checkout you made of our git repository on your own, or from some kind of arch provided build system for ioquake3?
From your log, the SDL2 flags are missing from CFLAGS and CLIENT_LIBS. Though it doesn’t make sense why they’re missing. It works for me in an ArchLinux VM.
Yeah. It tries pkg-config if it’s found by which pkg-config. If SDL_CFLAGS is empty (pkg-config not found or failed) it falls back to sdl2-config if it’s found by which sdl2-config.
My best guess is checking if pkg-config/sdl2-config commands exist are both failing. You could try removing “2> /dev/null” from this line in Makefile (and then run make) to show if they’re not found.
Thanks a lot for your help, your guess was right, the checking commands were failing… because I somehow didn’t have which installed. It was working for me with ZSH because it’s apparently a built-in command there, but since the makefile uses sh, that didn’t work…
Thank you very much for helping me figuring it out!