OJDK on RHEL 6.5
Dave Pointon
pointo1d at gmail.com
Mon Oct 20 15:07:18 UTC 2014
TFT MArio ,
Maybe it was just me, but I (obviously wrongly) expected it to be as smooth
& easy as it was for my original l/t build - which was ubuntu 12.04.
--
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
On 20 October 2014 15:56, Mario Torre <neugens.limasoftware at gmail.com>
wrote:
> Not sure if you tried that as well, but there's an handy helper on RHEL:
>
> yum-builddep java-1.7.0-openjdk
>
> I thought I mentioned here for future references. The
> README-build.html mentions that as well, btw.
>
> As Stanislav also pointed installing the source RPM will bring all the
> buildtime deps. This is not specific to RHEL, but also Centos and
> Fedora and all the derivative distributions of course.
>
> Cheers,
> Mario
>
> 2014-10-20 16:27 GMT+02:00 Dave Pointon <pointo1d at gmail.com>:
> > TFT Stanislav ,
> >
> > You are the winner of the "now why didn't I think of that" award -
> > config.log log shows ...
> >
> > In file included from conftest.c:28:
> > /usr/include/X11/extensions/XTest.h:32:35: error:
> X11/extensions/XInput.h:
> > No such file or directory
> >
> > which, when followed up by a whatprovides command shows:
> >
> > [dpointo8 at oc0675154111 Hg]$ sudo yum whatprovides '*/XInput.h'
> > [sudo] password for dpointo8:
> > Loaded plugins: downloadkvmonly-background, downloadonly-background,
> > ibm-check-lotus-updates, ibm-repo-checker, ibm-repository,
> > : refresh-packagekit, security, versionlock
> > libXi-devel-1.6.1-3.el6.x86_64 : X.Org X11 libXi development package
> > Repo : RHEL-65-x86_64
> > Matched from:
> > Filename : /usr/include/X11/extensions/XInput.h
> >
> >
> >
> > libXi-devel-1.6.1-3.el6.i686 : X.Org X11 libXi development package
> > Repo : RHEL-65-x86_64
> > Matched from:
> > Filename : /usr/include/X11/extensions/XInput.h
> >
> >
> > Very many thanx again for your insight (well it was late Sunday after a
> > loong weekend - that's my excuse and I'm sticking to it :-) ,
> >
> > --
> > 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
> >
> > On 20 October 2014 09:02, Stanislav Baiduzhyi <sbaiduzh at redhat.com>
> wrote:
> >
> >> 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 at 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 at 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 at 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
> >>
>
>
>
> --
> pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
> Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF
>
> Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens
> Proud GNU Classpath developer: http://www.classpath.org/
> OpenJDK: http://openjdk.java.net/projects/caciocavallo/
>
> Please, support open standards:
> http://endsoftpatents.org/
>
More information about the build-dev
mailing list