Hi, You could try downloading src.rpm file and checking the list of "BuildRequires" there, maybe it's some other package that is missing (even though configure shows exactly XTest.h):
http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/java-1.8.0-openjdk-1.8.0.25-1.b17.el6.src.rpm On Sunday 19 October 2014 20:44:41 Dave Pointon wrote: > Hi all , > > Could you tell me if there's been a successful OJDK build on RHEL 6.5 - I > ask because the configure step fails during the X11 stage ... > > checking for X11/extensions/shape.h... yes > checking for X11/extensions/Xrender.h... yes > checking for X11/extensions/XTest.h... no > configure: error: Could not find all X11 headers (shape.h Xrender.h XTest.h > Intrinsic.h). You might be able to fix this by running 'sudo yum install > libXtst-devel libXt-devel libXrender-devel'. > configure exiting with result code 1 > > > But, in this case all of those headers are installed and readable by me ... > > dpointo8@oc0675154111 Hg]$ sudo yum whatprovides '*/XTest.h' > [sudo] password for dpointo8: > Loaded plugins: downloadkvmonly-background, downloadonly-background, > ibm-check-lotus-updates, ibm-repo-checker, ibm-repository, > refresh-packagekit, security, versionlock > libXtst-devel-1.2.1-2.el6.i686 : X.Org X11 libXtst development package > Repo : RHEL-65-x86_64 > Matched from: > Filename : /usr/include/X11/extensions/XTest.h > > > > libXtst-devel-1.2.1-2.el6.x86_64 : X.Org X11 libXtst development package > Repo : RHEL-65-x86_64 > Matched from: > Filename : /usr/include/X11/extensions/XTest.h > > > > libXtst-devel-1.2.1-2.el6.x86_64 : X.Org X11 libXtst development package > Repo : installed > Matched from: > Filename : /usr/include/X11/extensions/XTest.h > > > [dpointo8@oc0675154111 Hg]$ head /usr/include/X11/extensions/XTest.h > /* > > Copyright 1992, 1998 The Open Group > > Permission to use, copy, modify, distribute, and sell this software and its > documentation for any purpose is hereby granted without fee, provided that > the above copyright notice appear in all copies and that both that > copyright notice and this permission notice appear in supporting > documentation. > > [dpointo8@oc0675154111 Hg]$ > > > Any help/guidance will, as always, be gratefully received. > > I haven't, I would hope self-evidently, encountered this on any of the > other Linux flavours on which I've attempted a build. > > TIA & rgds , > -- > Dave Pointon FIAP MBCS > > Now I saw, tho' too late, the folly of beginning a work before we count the > cost and before we we judge rightly of our strength to go thro' with it - > Robinson Crusoe -- Regards, Stas