Setup.sh fails #208
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem#208
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TheBitcoinBaron on GitHub · 2026-12-02 16:28 UTC · original
It states "install first: x86_64-w64-mingw32-gcc x86_64-w64-mingw32-g++ x86_64-w64-mingw32-strip widl flex bison"
so either setup or instructions need updating to confirm what to do.
Followed chagptt advise to install those, but now it gives"
install first: libdrm >= 2.4.133 libdrm_amdgpu >= 2.4.133 xcb-dri3 >= 1.13 xcb-present >= 1.13 xcb-shm xcb-sync xcb-xfixes wayland-protocols >= 1.49
Fedora/Nobara: libdrm-devel libxcb-devel libX11-devel libXrandr-devel libxshmfence-devel wayland-devel wayland-protocols-devel
Debian/Ubuntu: libdrm-dev libxcb1-dev libx11-dev libx11-xcb-dev libxrandr-dev libxshmfence-dev libwayland-dev wayland-protocols
Arch/CachyOS: libdrm libxcb libx11 libxrandr libxshmfence wayland wayland-protocols
"
I sudo apt install libdrm-dev libxcb1-dev libx11-dev libx11-xcb-dev libxrandr-dev libxshmfence-dev libwayland-dev wayland-protocols
But then it just keeps repeating the same message [ubuntu / mint]
@Niter88 on GitHub · 2026-12-02 18:40 UTC · original
Hello friend. This is what worked for me (I'm using Ubuntu inside a distrobox because my system is Bazzite/Fedora)
Gemini told me two options to install it, only the second worked:
Option 2: Build wayland 1.25.0 first (If your project requires the generated headers)
If setup.sh or the subsequent compilation fails looking for wayland-protocols/*.h headers, build wayland 1.25.0 into /usr/local so wayland-scanner 1.25.0 is available:
Run:
sudo apt update && sudo apt install -y libffi-dev libexpat1-dev libxml2-devthen in a single command:
cd /tmp && rm -rf wayland && \ git clone --depth 1 --branch 1.25.0 https://gitlab.freedesktop.org/wayland/wayland.git && \ cd wayland && \ meson setup build --prefix=/usr/local -Ddocumentation=false -Dtests=false && \ ninja -C build && \ sudo ninja -C build install && \ sudo ldconfigVerification: /usr/local/bin/wayland-scanner --version prints wayland-scanner 1.25.0
Now build and install wayland-protocols 1.49 with headers enabled:
cd /tmp/wayland-protocols && \ meson setup build --wipe --prefix=/usr/local -Dtests=false && \ ninja -C build && \ sudo ninja -C build installVerification: ninja -C build completes all 64 targets with zero errors and pkg-config --modversion wayland-protocols prints 1.49.
Next: Build libdrm and run setup.sh
Once wayland-protocols 1.49 is installed via either option above:
cd /tmp && rm -rf drm && \ git clone --depth 1 https://gitlab.freedesktop.org/mesa/drm.git && \ cd drm && \ meson setup build --prefix=/usr/local -Damdgpu=enabled && \ ninja -C build && \ sudo ninja -C build install && \ sudo ldconfigVerification: pkg-config --modversion libdrm libdrm_amdgpu prints 2.4.133 or higher for both
Return to your project directory and re-run setup.sh
Note that when it ends you'll not be in your project folder, you have to go to that folder again.
@TheBitcoinBaron on GitHub · 2026-12-02 19:03 UTC · original
Hi there,
sudo apt update && sudo apt install -y libffi-dev libexpat1-dev libxml2-dev
This command does not error but gives warnings:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FD533C07C264648F
W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FD533C07C264648F
W: Some index files failed to download. They have been ignored, or old ones used instead.
Second command does not run, it returns:
Command ' git' not found, did you mean:
command 'git' from deb git (1:2.43.0-1ubuntu7.3)
command 'qgit' from deb qgit (2.10-2)
command 'jgit' from deb jgit-cli (4.11.9-2)
command 'dgit' from deb dgit (11.5)
Try: sudo apt install
"git" is a command that does work though.
@SkeJm on GitHub · 2026-12-02 19:52 UTC · original
It literally tells you what to do, install git.
@Pacific6938 on GitHub · 2026-12-02 22:55 UTC · original
@TheBitcoinBaron learn to read or think idk whatever your lacking fix it
@jpacs on GitHub · 2026-12-02 23:08 UTC · original · edited 2026-12-03 19:37 UTC
Hi just wandering if I am on Xorg do I need to fully transfer into wayland? Or can I still be in Xorg and only the application runs with wayland?
Thanks
EDIT: Yes I found out that Wayland applications can run on Xorg.
@tommiehansen on GitHub · 2026-12-05 17:43 UTC · original · edited 2026-12-05 17:44 UTC
I've opened #610 to make setup tell you whether a dependency is missing or simply too old. Installing the same package again won't help if its version is below the requirement. Both CI jobs passed, but the PR hasn't been merged yet.