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 "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2012/08/29 20:08:07 UTC
[jira] [Updated] (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:all-tabpanel ]
Colin Patrick McCabe updated HADOOP-8747:
-----------------------------------------
Attachment: HADOOP-8747.001.patch
I think the handling of parentheses is at fault here. Here's a version of the if statement which doesn't use extra parentheses.
> 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