right, if you use ubuntu just sudo apt install graphviz
to get doc/meson.build:1:0: ERROR: Program 'dot' not found
resolved, or if you dont want to relly with graphviz
. we can directly sudo apt install libgvc6
as @zzzhhh said.
indeed afterthat for some reason mason might continue complaining not being able find anyothers: doxygen, xsltproc, xmlto, etc.
I hope in the future, these building or installing tools can automatically download needed things from internet and install without complaining "Error: xxx not found"
yes, ther's it is, you can use build-dep
.
eg: sudo apt build-dep <SOURCE NAME YOU WANT TO BUILD>
.
ie. i want to build wayland from source: sudo apt build-dep wayland
, then download tar.gz released or cloned by tag released and go with your meson setup build