Setup.sh fails #208

Open
opened 2026-12-02 17:04:30 +00:00 by github-bot · 6 comments
Owner

@⁠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]

**@⁠TheBitcoinBaron** on GitHub · 2026-12-02 16:28 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/208) 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]
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 17:04:30 +00:00
Author
Owner

@⁠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-dev

then 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 ldconfig
Verification: /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 install
Verification: 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 ldconfig
Verification: 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.

**@⁠Niter88** on GitHub · 2026-12-02 18:40 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/208#issuecomment-7354972786) 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-dev` ### then 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 ldconfig` Verification: _/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 install` Verification: _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 ldconfig` Verification: _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.
Author
Owner

@⁠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.

**@⁠TheBitcoinBaron** on GitHub · 2026-12-02 19:03 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/208#issuecomment-7355555004) 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 <deb name> "git" is a command that does work though.
Author
Owner

@⁠SkeJm on GitHub · 2026-12-02 19:52 UTC · original

It literally tells you what to do, install git.

**@⁠SkeJm** on GitHub · 2026-12-02 19:52 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/208#issuecomment-7356857827) It literally tells you what to do, install git.
Author
Owner

@⁠Pacific6938 on GitHub · 2026-12-02 22:55 UTC · original

@⁠TheBitcoinBaron learn to read or think idk whatever your lacking fix it

**@⁠Pacific6938** on GitHub · 2026-12-02 22:55 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/208#issuecomment-7361342426) @⁠TheBitcoinBaron learn to read or think idk whatever your lacking fix it
Author
Owner

@⁠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.

**@⁠jpacs** on GitHub · 2026-12-02 23:08 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/208#issuecomment-7361619324) · 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.
Author
Owner

@⁠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.

**@⁠tommiehansen** on GitHub · 2026-12-05 17:43 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/208#issuecomment-7442435228) · 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.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/lobomfz--VIctory-xmem#208
No description provided.