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

Improve prerequisite checking in configure script

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: infrastructure
    • Labels:
      None
    • OS:
      linux

      Description

      Checks for some prerequisites are missing in 8cpu configure script. In particular need checks for X11 header files.
      Running configure on Ubuntu passes, but build fails as some X11 related packages are missing.
      The following command installs all missing X11 headers:
      sudo apt-get install libx11-dev libxtst-dev libxt-dev libxrender-dev .
      See https://wiki.se.oracle.com/display/JPG/Building+JDK+on+Ubuntu for details on configuring Ubuntu for JDK builds.

      Also need to drop check if GCC29_COMPILER_PATH Make variable is set properly. It makes no sense, but if not set, breaks deploy build. See https://java.se.oracle.com/source/xref/jdk8u-cpu/jdk/make/closed/old-build/common/shared/Sanity.gmk#1427

      Need better way to set RPMBUILD Make variable used in installer builds. The following https://java.se.oracle.com/source/xref/jdk8u-cpu/jdk/make/closed/old-build/common/shared/Defs-utils.gmk#125 is no good, as rpmbuild can be built locally and installed in unexpected location. Need better way to detect its location or configure option to set path to it if it is not in PATH.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            asemenyuk Alexey Semenyuk
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: