Now the program thinks it can draw, while it cannot. X libs doesnt provides any useful functionality for Haiku at this moment, so in this case you just made it depend on a whole bunch of useless libs.
But i think it is clear for you.
BeOS had community provided X server port, Haiku Inc. (AFAIK) have no interest to coordinate any X11 porting efforts. The community can work on whatever they want of course.
In ideal world this would be maybe the right way, but ours is not that ideal. I try to build every new version, invested plenty time in the different configure options, but i was not successful yet. Maybe i should try with older versions too, but i am not Racket user, i just wanted/want to port it for the fame and for the cookies.