Failed building SWI-Prolog from source

Hello,

I failed building SWI-Prolog from source with this error. Can anyone help?

$ ninja
ninja: error: ‘…/man/ssl’, needed by ‘man/lib/prologpack.tex’, missing and no known rule to make it

You probably didn’t install the libssl-dev dependency. See https://www.swi-prolog.org/build/Debian.txt for a full list of dependencies. Partial builds (leaving out some components) is not well supported for many combinations of extensions. Typically, just build the whole lot (least trouble) or just the core system if you want a minimal system, typically to be embedded in a service.

I got it. Thanks.