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

Add Xrandr checks to configure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: infrastructure
    • Labels:
      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: