Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTK4_CFLAGS and GTK4_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. make: *** [Makefile:1647: distcheck] Error 1 Cleaning up project directory and file based variables ERROR: Job failed: exit code 1