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

package help is not displayed for missing X11/extensions/Xrandr.h

XMLWordPrintable

    • b12
    • generic
    • linux

        On SUSE Linux 15 configure was running into this error, because of a missing X11 header :

        checking for X11/extensions/Xrandr.h... no
        configure: error: Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h).

        I wondered about the missing package help output.
        In help.m4, we detect PKGHANDLER as /usr/bin/zypper .
        However only the exact string zypper is checked, this should be relaxed.
        Afterwards, the package - help is back :

        checking for X11/extensions/Xrandr.h... no
        configure: error: Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h).
        You might be able to fix this by running 'sudo zypper install libX11-devel libXext-devel libXrender-devel libXrandr-devel libXtst-devel libXt-devel libXi-devel'.

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: