[DOCS] Fedora build guide missing required system dependencies (GTK/WebKit, clang)
Documentation Issue
docs/building_in_linux.md does not list the system packages required to compile the Tauri app and the llama-helper sidecar on Fedora. Following the guide on a clean Fedora 43 Workstation, ./dev-gpu.sh / pnpm run tauri:dev fails twice (missing stdbool.h for bindgen, and missing gdk-3.0 for Tauri) before it can build. The Fedora prerequisite list needs to be completed.
Current Documentation
Link: docs/building_on_linux.md
The only Fedora-specific package instructions in the guide are:
- Lines 18-19 (Install Basic Dependencies):
# Fedora/RHEL sudo dnf install gcc-c++ cmake git - Lines 134-135 (Vulkan Setup):
# Fedora sudo dnf install vulkan-devel openblas-devel
Everything else (Tauri GTK/WebKit deps, clang, audio/dbus deps) is absent.
Proposed Changes
Extend the Fedora/RHEL block under "Install Basic Dependencies" (lines 11-23) to include the Tauri v2 and audio system deps plus
clang:# Fedora/RHEL sudo dnf install gcc-c++ cmake git clang \ webkit2gtk4.1-devel gtk3-devel libappindicator-gtk3-devel \ librsvg2-devel openssl-devel dbus-devel alsa-lib-devel \ pulseaudio-libs-develwebkit2gtk4.1-develmatches the Fedora 43webkit2gtk4.1runtime and is what Tauri 2.x requires.dbus-develis needed bylibdbus-sys, pulled in during the build.alsa-lib-devel/pulseaudio-libs-develare for the audio stack.
Add two entries to the Troubleshooting section:
'stdbool.h' file not found(bindgen panic) → installclang.gdk-3.0 was not found in the pkg-config search path→ installwebkit2gtk4.1-devel gtk3-devel ....
Optionally note
patchelfunder the AppImage build output section, needed fortauri buildAppImage bundling.
Reason for Change
A clean Fedora 43 install cannot build the project by following the guide as written. The two failures are environment/packaging gaps, not code bugs, and both are resolved by installing packages the guide doesn't mention:
- Error 1:
bindgenuseslibclang, but noclangpackage was installed. Fedora 43 shipslibclangunder/usr/lib64/llvm21/, so Clang resolves its builtin headers relative to that prefix (/usr/lib64/llvm21/lib/clang/21/include, which doesn't exist) instead of/usr/lib/clang/21/include.stdbool.his not in/usr/includeon Fedora 43, so the bindgen step panics. Installingclangfixes it. - Error 2: the runtime GTK libs are present but the
-develpackages providing the.pcfiles are not.
Additional Context
Error 1 stderr
.../llama-cpp-sys-2-0.1.146/llama.cpp/ggml/include/ggml.h:211:10:
fatal error: 'stdbool.h' file not found
thread 'main' panicked at .../llama-cpp-sys-2-0.1.146/build.rs:481:10:
Failed to generate bindings: ClangDiagnostic(".../ggml.h:211:10:
fatal error: 'stdbool.h' file not found\n")Verified fixed by sudo dnf install clang; afterwards cargo build -p llama-cpp-sys-2 completes.
Error 2 stderr
pkg-config exited with status code 1
> pkg-config --libs --cflags gdk-3.0 'gdk-3.0 >= 3.22'
Package gdk-3.0 was not found in the pkg-config search path.
The system library `gdk-3.0` required by crate `gdk-sys` was not found.Environment
- OS: Fedora Linux 43 (Workstation), x86_64
- GCC 15.3.1, clang 21.1.8, webkit2gtk4.1 2.52.5
- Rust 1.97.1 / cargo 1.97.1
- Node v26.9.0 / pnpm 10.25.0
- Repo commit: a2cb62e (main)
I'm happy to open a PR with these additions.
Checklist
- I have searched for similar documentation issues
- I have provided links to the current documentation
- I have clearly described the proposed changes
- I have explained the reason for the change
Source: Zackriya-Solutions/meetily