$ meson -Daudio=false -Dclients=gtk3.22 -Druledit=true -Dqtver=qt5 .. The Meson build system Version: 1.0.0 Source dir: /src Build dir: /src/compile-debian-bookworm-meson Build type: native build Project name: freeciv Project version: undefined C compiler for the host machine: cc (gcc 12.1.0 "cc (Debian 12.1.0-7) 12.1.0") C linker for the host machine: cc ld.bfd 2.38.90.20220713 C++ compiler for the host machine: c++ (gcc 12.1.0 "c++ (Debian 12.1.0-7) 12.1.0") C++ linker for the host machine: c++ ld.bfd 2.38.90.20220713 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -Wno-nonnull-compare: YES ../meson.build:83: WARNING: Consider using the built-in werror option instead of using "-Werror". Has header "locale.h" : YES Has header "libintl.h" : YES Has header "inttypes.h" : YES Has header "stdint.h" : YES Has header "sys/types.h" : YES Has header "unistd.h" : YES Has header "sys/time.h" : YES Has header "sys/socket.h" : YES Has header "sys/select.h" : YES Has header "netinet/in.h" : YES Has header "dirent.h" : YES Has header "stdbool.h" : YES Has header "winsock2.h" : NO Has header "arpa/inet.h" : YES Has header "bzlib.h" : YES Has header "direct.h" : NO Has header "dlfcn.h" : YES Has header "execinfo.h" : YES Has header "fcntl.h" : YES Has header "time.h" : YES Has header "libgen.h" : YES Has header "lzma.h" : YES Has header "zstd.h" : NO Has header "memory.h" : YES Has header "netdb.h" : YES Has header "pwd.h" : YES Has header "signal.h" : YES Has header "stdlib.h" : YES Has header "strings.h" : YES Has header "string.h" : YES Has header "sys/file.h" : YES Has header "sys/ioctl.h" : YES Has header "sys/random.h" : YES Has header "sys/signal.h" : YES Has header "sys/stat.h" : YES Has header "sys/termio.h" : NO Has header "sys/uio.h" : YES Has header "sys/utsname.h" : YES Has header "sys/wait.h" : YES Has header "termios.h" : YES Has header "vfork.h" : NO Checking for function "fork" : YES Checking for function "vfork" : YES Checking for function "backtrace" : YES Checking for function "bind" : YES Checking for function "clock_gettime" : YES Checking for function "connect" : YES Checking for function "fdopen" : YES Checking for function "fileno" : YES Checking for function "flock" : YES Checking for function "getentropy" : YES Checking for function "gettimeofday" : YES Checking for function "ftime" : YES Checking for function "gethostbyname" : YES Checking for function "getline" : YES Checking for function "getnameinfo" : YES Checking for function "getpwuid" : YES Checking for function "inet_aton" : YES Checking for function "inet_ntop" : YES Checking for function "inet_pton" : YES Checking for function "opendir" : YES Checking for function "putenv" : YES Checking for function "getcwd" : YES Checking for function "select" : YES Checking for function "setenv" : YES Checking for function "snooze" : NO Checking for function "strcasecoll" : NO Checking for function "strcasestr" : YES Checking for function "strcoll" : YES Checking for function "strerror" : YES Checking for function "stricoll" : NO Checking for function "strstr" : YES Checking for function "uname" : YES Checking for function "nanosleep" : YES Checking for function "usleep" : YES Checking for function "vprintf" : YES Checking for function "vsnprintf" : YES Checking for function "_mkdir" : NO Checking for function "_strcoll" : NO Checking for function "_stricoll" : NO Checking for function "fcntl" : YES Checking for function "ioctl" : YES Checking for function "vsnprintf" : YES (cached) Checking for function "va_copy" : YES Checking for function "localtime_r" : YES Checking for function "mkstemp" : YES Checking for function "popen" : YES Checking for function "pclose" : YES Checking for function "_longjmp" : YES Checking for function "_setjmp" : YES Checking for function "gmtime_r" : YES Checking for function "localtime_r" : YES (cached) Checking for function "fseeko" : YES Has header "unistd.h" : YES (cached) Checking for function "BCryptGenRandom" : NO Checking for function "getaddrinfo" : YES Has header "libcharset.h" : NO Library readline found: YES Checking for function "rl_completion_suppress_append" with dependency -lreadline: YES Library lzma found: YES Library zstd found: NO Found pkg-config: /usr/bin/pkg-config (0.29.2) Did not find CMake 'cmake' Found CMake: NO Run-time dependency magickwand found: NO (tried pkgconfig and cmake) Run-time dependency magickwand found: NO (tried pkgconfig and cmake) Run-time dependency icu-uc found: YES 72.1 Run-time dependency lua-5.4 found: NO (tried pkgconfig and cmake) Checking for function "iconv" : YES Library intl found: NO Library sqlite3 found: YES Library m found: YES Library curl found: YES Configuring fc_config.h using configuration Configuring freeciv_config.h using configuration Configuring liblua_config.h using configuration Program msgfmt found: YES (/usr/bin/msgfmt) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Program python3 found: YES (/usr/bin/python3) Program sh found: YES (/bin/sh) Library z found: YES Run-time dependency threads found: YES Run-time dependency gtk+-3.0 found: YES 3.24.36 Run-time dependency gtk4 found: NO (tried pkgconfig and cmake) Run-time dependency qt5 (modules: Core, Gui, Widgets) found: YES 5.15.8 (pkg-config) Detecting Qt5 tools Run-time dependency qt5 (modules: Core) found: YES 5.15.8 (pkg-config) Program /usr/lib/x86_64-linux-gnu/qt5/bin/moc found: YES 5.15.8 (/usr/lib/x86_64-linux-gnu/qt5/bin/moc) Program /usr/lib/x86_64-linux-gnu/qt5/bin/uic found: YES 5.15.8 (/usr/lib/x86_64-linux-gnu/qt5/bin/uic) Program /usr/lib/x86_64-linux-gnu/qt5/bin/rcc found: YES 5.15.8 (/usr/lib/x86_64-linux-gnu/qt5/bin/rcc) Program /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease found: NO Program lrelease5 found: NO Program lrelease-qt5 found: NO Program lrelease found: NO found but need: '== 5.15.8' (/usr/bin/lrelease) Build targets in project: 149 freeciv undefined User defined options audio : false clients: gtk3.22 qtver : qt5 ruledit: true Found ninja-1.11.1 at /usr/bin/ninja WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. $ ninja [398/575] Compiling C object libfc_client_common.a.p/client_audio_sdl.c.o FAILED: libfc_client_common.a.p/client_audio_sdl.c.o cc -Ilibfc_client_common.a.p -I. -I.. -I../dependencies/lua-5.4/src -I../dependencies/luasql/src -I../dependencies/tinycthread -I../dependencies/tolua-5.2/include -I../dependencies/cvercmp -I../utility -I../common -I../common/networking -I../common/scriptcore -I../common/aicore -I../client -I../client/include -I../client/luascript -I../client/agents -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -Wno-nonnull-compare -Werror -DHAVE_CONFIG_H -fPIC -MD -MQ libfc_client_common.a.p/client_audio_sdl.c.o -MF libfc_client_common.a.p/client_audio_sdl.c.o.d -o libfc_client_common.a.p/client_audio_sdl.c.o -c ../client/audio_sdl.c ../client/audio_sdl.c:24:10: fatal error: SDL2/SDL.h: No such file or directory 24 | #include | ^~~~~~~~~~~~ compilation terminated. [407/575] Compiling C object libfc_client_common.a.p/client_audio.c.o ninja: build stopped: subcommand failed.