X11 build error
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Wed Nov 21 12:29:10 UTC 2018
On 2018-11-21 13:18, Maurizio Cimadamore wrote:
> Seems like a duplicate of this?
Yeah. The story is that we used to bundle a copy of the Xrandr.h header
file, but this was recently removed. Then Xrandr became a build
prerequisite, but no additional checks were made in configure for that.
In any case, you'll need to update your build environment. Inside the
Oracle network, you can use the jib launcher and it'll work
automatically. On linux distros, try: "sudo apt-get install
libxrandr-dev" or "sudo yum install libXrandr-devel".
> On 21/11/2018 12:15, Maurizio Cimadamore wrote:
>> we recently refreshed the Panama repo and I'm getting a weird build
>> === Output from failing command(s) repeated here ===
>> * For target support_native_java.desktop_libawt_xawt_awt_GraphicsEnv.o:
>> fatal error: X11/extensions/Xrandr.h: No such file or directory
>> #include <X11/extensions/Xrandr.h>
>> configure.log shows no issues.
>> Am I doing something wrong, or is this a bug that crept in?
More information about the build-dev