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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.0.2-alpha
    • native
    • 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.001.patch
          0.9 kB
          Colin McCabe
        2. HADOOP-8747.002.patch
          1 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: