Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8747

Syntax error on cmake version 2.6 patch 2 in JNIFlags.cmake

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: native
    • Labels:
      None

      Description

      On SUSE Linux Enterprise Server 11 SP1, "cmake version 2.6 patch 2" is installed.

      It seems to have trouble parsing this "if" statement in JNIFlags.cmake:

      IF((NOT JAVA_JVM_LIBRARY) OR (NOT JAVA_INCLUDE_PATH) OR (NOT JAVA_INCLUDE_PATH2))
      

      We should rephrase this if statement so that it will work on all versions of cmake above or equal to 2.6.

        Attachments

        1. HADOOP-8747.002.patch
          1 kB
          Colin P. McCabe
        2. HADOOP-8747.001.patch
          0.9 kB
          Colin P. McCabe

          Activity

            People

            • Assignee:
              cmccabe Colin P. McCabe
              Reporter:
              cmccabe Colin P. McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: