Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Got an error while building Wayland: ERROR: Program 'dot' not found

I am following instructions in wayland's gitlab website to build it on Ubuntu 20.04. But I got an error at the "meson build" step:

Program dot found: NO

doc/meson.build:1:0: ERROR: Program 'dot' not found

I have tried installing graphviz using apt-get, pydot using pip3, but still receive the above error. What else should I install?

like image 799
zzzhhh Avatar asked Nov 20 '25 20:11

zzzhhh


1 Answers

If you don't need the documentation built, just running meson setup $builddir -Ddocumentation=false will turn off the documentation, and thus the need for dot.

But it's confusing that graphviz isn't fixing the problem, since that is the Debian/Ubuntu package with dot in it.

like image 139
dcbaker Avatar answered Nov 23 '25 13:11

dcbaker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!