You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Andy Isaacson (JIRA)" <ji...@apache.org> on 2012/08/29 20:50:08 UTC
[jira] [Commented] (HADOOP-8747) Syntax error on cmake version 2.6
patch 2 in JNIFlags.cmake
[ https://issues.apache.org/jira/browse/HADOOP-8747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444317#comment-13444317 ]
Andy Isaacson commented on HADOOP-8747:
---------------------------------------
The failure we saw was:
{code}
[exec] CMake Error: Error in cmake code at
[exec] /var/lib/jenkins/workspace/CDH4-Hadoop-MR2-2.0.0/hadoop-common-project/hadoop-common/src/JNIFlags.cmake:106:
[exec] Parse error. Function missing ending ")". Instead found left paren with text "(".
{code}
> Syntax error on cmake version 2.6 patch 2 in JNIFlags.cmake
> -----------------------------------------------------------
>
> Key: HADOOP-8747
> URL: https://issues.apache.org/jira/browse/HADOOP-8747
> Project: Hadoop Common
> Issue Type: Bug
> Components: native
> Affects Versions: 2.2.0-alpha
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HADOOP-8747.001.patch
>
>
> 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:
> {code}
> IF((NOT JAVA_JVM_LIBRARY) OR (NOT JAVA_INCLUDE_PATH) OR (NOT JAVA_INCLUDE_PATH2))
> {code}
> We should rephrase this if statement so that it will work on all versions of cmake above or equal to 2.6.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira