Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8213937

Add Xrandr checks to configure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • None
    • infrastructure
    • None

      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.

            Unassigned Unassigned
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: