Note: even if Siril 0.9.9 can run in console, it is still always linked against the graphical libraries. So you still need GTK and X11 or wayland client to compile and run it.