
Recently, I had to build fossil from source on Ubuntu because I needed to make a change to the source code.
It required a number of dependencies which is expected to be installed.
They are –
gcc (obviously!)
zlib1g and zlib1g-dev
tcl-dev
tk
libssl
libssl-dev