Hadoop Common
  1. Hadoop Common
  2. HADOOP-8747

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

          People

          • Assignee:
            Colin Patrick McCabe
            Reporter:
            Colin Patrick McCabe
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development