Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependency: wayland-server #17

Open
donni-h opened this issue Jul 25, 2022 · 3 comments
Open

Missing dependency: wayland-server #17

donni-h opened this issue Jul 25, 2022 · 3 comments

Comments

@donni-h
Copy link

donni-h commented Jul 25, 2022

I keep getting the same error message on both Fedora and Voidlinux.
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-req-build-xb39bncm/setup.py", line 9, in
raise Exception("Fatal: Error executing 'meson build': \n%r\n%r" % (stdout, stderr))
Exception: Fatal: Error executing 'meson build':
b'The Meson build system\nVersion: 0.62.2\nSource dir: /tmp/pip-req-build-xb39bncm\nBuild dir: /tmp/pip-req-build-xb39bncm/build\nBuild type: native build\nProject name: pywm\nProject version: 0.1.0\nC compiler for the host machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20201203")\nC linker for the host machine: cc ld.bfd 2.35.1\nHost machine cpu family: x86_64\nHost machine cpu: x86_64\nFound pkg-config: /usr/bin/pkg-config (0.29.2)\nFound CMake: /usr/bin/cmake (3.22.2)\nRun-time dependency wayland-server found: NO (tried pkgconfig and cmake)\n\nmeson.build:33:0: ERROR: Dependency "wayland-server" not found, tried pkgconfig and cmake\n\nA full log can be found at /tmp/pip-req-build-xb39bncm/build/meson-logs/meson-log.txt\n'
b''
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

On both of the machines I have Gnome and other Wayland WMs installed and made sure that all listed dependencies are pulled in. I also checked both repos, and neither contains a package calles 'wayland-server'. Is there a fix to this, as I would really love to give Newm a shot :)

@cben
Copy link

cben commented Jul 25, 2022

On Fedora, I have e.g. these files:

> rpm -qf /usr/lib/libwayland-server.so.0 /usr/include/wayland-server.h
libwayland-server-1.20.0-4.fc36.i686
wayland-devel-1.20.0-4.fc36.x86_64

so try sudo dnf install libwayland-server wayland-devel

@donni-h
Copy link
Author

donni-h commented Jul 25, 2022

On Fedora, I have e.g. these files:

> rpm -qf /usr/lib/libwayland-server.so.0 /usr/include/wayland-server.h
libwayland-server-1.20.0-4.fc36.i686
wayland-devel-1.20.0-4.fc36.x86_64

so try sudo dnf install libwayland-server wayland-devel

Alright, that did the job. There were a bunch of other dependencies still missing, that weren't listed in the repo. I could track them all down, except for GLESv2, is that even a thing in fedora?

@cben
Copy link

cben commented Jul 27, 2022

yeah, this one is pretty mysterious:

> rpm -qf /usr/lib64/pkgconfig/glesv2.pc
libglvnd-devel-1.4.0-2.fc36.x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants