By the way, I am not interested in the graphics or board: just want to see how the engine works. Is there a way to disable the graphics compilation so that I can generate the gnubg-cli version only?
Unfortunately, there is no headless version of GnuBG.