Kmldonkeys looks in 22 locations for 'X-includes'!!! So path is no problem !
The issue is : '...x_direct_test_include=X11/Intrinsic.h'
(from acinclude.m4 and configure) meaning missing 'libxt-devel'
(or libXt6-devel). If you don't find any for Yellow Dog,
you might compile the 1.0.3 version of Xorg? if possible...,
and use the components usually found in libXt + libXt-devel. See Fedora.
*Except for the headers (Intrinsic.h etc.) libXt.so.6.x and libXt.so might be needed.
Or have a look here :