hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-802) Skip Hama Pipes native build when cmake is missing
Date Sun, 15 Sep 2013 23:12:51 GMT

    [ https://issues.apache.org/jira/browse/HAMA-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767948#comment-13767948
] 

Hudson commented on HAMA-802:
-----------------------------

SUCCESS: Integrated in Hama-Nightly-for-Hadoop-1.x #1037 (See [https://builds.apache.org/job/Hama-Nightly-for-Hadoop-1.x/1037/])
HAMA-802: Skip Hama Pipes native build when cmake is missing (chl501: rev 1523425)
* /hama/trunk/c++/pom.xml
* /hama/trunk/c++/src/main/native/pipes/impl/HamaPipes.cc

                
> Skip Hama Pipes native build when cmake is missing
> --------------------------------------------------
>
>                 Key: HAMA-802
>                 URL: https://issues.apache.org/jira/browse/HAMA-802
>             Project: Hama
>          Issue Type: Improvement
>          Components: build 
>    Affects Versions: 0.6.3
>            Reporter: Martin Illecker
>            Assignee: Martin Illecker
>            Priority: Minor
>              Labels: build
>             Fix For: 0.7.0
>
>         Attachments: HAMA-802.patch
>
>
> 1) Based on messages [1] of Tommaso and Anastasis we should skip building Hama Pipes
when cmake is missing.
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-antrun-plugin:1.6:run (make) on project
> hama-pipes: An Ant BuildException has occured: Execute failed:
> java.io.IOException: Cannot run program "cmake" (in directory
> "*****/hama/trunk/c++/target/native"):
> error=2, No such file or directory -> [Help 1]
> {code}
> 2) Add {code}#include <unistd.h>{code} to HamaPipes.cc to solve the following error.
(provided by Chia-Hung Lin [2])
> {code}
> [exec] /usr/bin/c++    -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/tmp/0.6.3-RC2/c++/src/main/native/utils/api
> -I/tmp/0.6.3-RC2/c++/src/main/native/pipes/api
> -I/tmp/0.6.3-RC2/c++/src    -o
> CMakeFiles/hamapipes.dir/main/native/pipes/impl/HamaPipes.cc.o -c
> /tmp/0.6.3-RC2/c++/src/main/native/pipes/impl/HamaPipes.cc
>     [exec] /tmp/0.6.3-RC2/c++/src/main/native/pipes/impl/HamaPipes.cc:
> In function ‘void* HamaPipes::ping(void*)’:
>     [exec] /tmp/0.6.3-RC2/c++/src/main/native/pipes/impl/HamaPipes.cc:1148:16:
> error: ‘sleep’ was not declared in this scope
>     [exec] /tmp/0.6.3-RC2/c++/src/main/native/pipes/impl/HamaPipes.cc:1167:30:
> error: ‘close’ was not declared in this scope
> {code}
> [1] http://mail-archives.apache.org/mod_mbox/hama-dev/201309.mbox/%3CCAGnSx07dLJt4NEpgh66OQ20wgQHP%2BPvYMNsT1uJ3d69Xg%3DN2%2BQ%40mail.gmail.com%3E
> [2] http://mail-archives.apache.org/mod_mbox/hama-dev/201309.mbox/%3cCA+jdVcznuTkHbPovwVYz55WnY_ffg3ykt4c2w6jLkkUxygwpxg@mail.gmail.com%3e

--
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

Mime
View raw message