Xlib.h can't be found. the file is actually in /usr/X11R6/include/X11/ but this path isn't in /etc/ld.so.conf. could this be the problem?
Created attachment 2254 [details] log
ok, this was a xfree problem. there was a symbolic link missing "ln -s /usr/X11R6/lib/X11 /usr/lib/X11"