Closed SonnyRajagopalan closed 6 months ago
Make sure x11 dev packages are installed
Thank you, @mfisher31 -- all already installed--but I still get this error!
Re-opened, but I'm not sure what to say. I also use this OS on some machines and never get X11 missing problems.
meson saying dependency "x11" not found means it can't find the x11.pc file:
This shows that x11-dev is the package that provides it...
@mfisher31 noted, I searched for x11.pc
and I did find it in /usr/lib/x86_64-linux-gnu/pkgconfig/x11.pc
not sure if this is a meson problem. Will continue checking (used /usr/lib $ find -name "x11.pc"
)
interesting pkg-config can't find it. Maybe the env variable has been tampered with? https://askubuntu.com/questions/210210/pkg-config-path-environment-variable
You are right!!
My PKG_CONFIG_PATH
was seriously messed up. Eventually figured out that I need to add the env for all *.pc
and that fixed the meson build. Here's hoping the rest of the install is smooth. Please close this ticket, and thank you for your patience.
Closing this ticket
No problem!
Describe the bug Cannot complete meson setup build in the instructions on Ubuntu 22.04 (Linux 6.5.0-25-generic)
To Reproduce Steps to reproduce the behavior:
Expected behavior meson setup build doesn't fail
Desktop (please complete the following information):