Details
-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
None
-
None
Description
After JDK-8210863, the build would start to fail with cryptic:
Compiling gtk_interface.c (for libawt_xawt.so)
/home/buildbot/worker/jdkX-linux/build/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:37:35: fatal error: X11/extensions/Xrandr.h: No such file or directory
#include <X11/extensions/Xrandr.h>
^
compilation terminated.
Installing libxrandr-dev helps to resolve it, but autoconf should really check on it, and fail with sane message during the configure.
Compiling gtk_interface.c (for libawt_xawt.so)
/home/buildbot/worker/jdkX-linux/build/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:37:35: fatal error: X11/extensions/Xrandr.h: No such file or directory
#include <X11/extensions/Xrandr.h>
^
compilation terminated.
Installing libxrandr-dev helps to resolve it, but autoconf should really check on it, and fail with sane message during the configure.
Attachments
Issue Links
- duplicates
-
JDK-8213944 Fix AIX build after the removal of Xrandr.h and add a configure check for it
- Resolved
- relates to
-
JDK-8210863 Remove Xrandr include files from JDK sources
- Resolved