#812·meetily

[DOCS] Fedora build guide missing required system dependencies (GTK/WebKit, clang)

Author: tony-nyagahCreated Sep 24, 2026Updated Sep 24, 2026
Labelsdocumentation

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):
    bash
    # Fedora/RHEL
    sudo dnf install gcc-c++ cmake git
  • Lines 134-135 (Vulkan Setup):
    bash
    # Fedora
    sudo dnf install vulkan-devel openblas-devel

Everything else (Tauri GTK/WebKit deps, clang, audio/dbus deps) is absent.

Proposed Changes

  1. Extend the Fedora/RHEL block under "Install Basic Dependencies" (lines 11-23) to include the Tauri v2 and audio system deps plus clang:

    bash
    # 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-devel
    • webkit2gtk4.1-devel matches the Fedora 43 webkit2gtk4.1 runtime and is what Tauri 2.x requires.
    • dbus-devel is needed by libdbus-sys, pulled in during the build.
    • alsa-lib-devel / pulseaudio-libs-devel are for the audio stack.
  2. Add two entries to the Troubleshooting section:

    • 'stdbool.h' file not found (bindgen panic) → install clang.
    • gdk-3.0 was not found in the pkg-config search path → install webkit2gtk4.1-devel gtk3-devel ....
  3. Optionally note patchelf under the AppImage build output section, needed for tauri build AppImage 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: bindgen uses libclang, but no clang package was installed. Fedora 43 ships libclang under /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.h is not in /usr/include on Fedora 43, so the bindgen step panics. Installing clang fixes it.
  • Error 2: the runtime GTK libs are present but the -devel packages providing the .pc files 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