autogen.sh: You need gtk-doc to build this package

sashoalm picture sashoalm · Apr 9, 2017 · Viewed 9.1k times · Source

I want to compile LXDE's libfm from source, but when I run ./autogen.sh, it fails with this error:

You need gtk-doc to build this package.

Answer

sashoalm picture sashoalm · Apr 9, 2017

After some experimenting, I figured out which package to install.

It was:

sudo apt-get install gtk-doc-tools

After that ./autogen.sh executed successfully and created the ./configure script. I also needed to run sudo apt-get build-dep libfm4 which installed other dependencies such as the Vala compiler.