Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7766E105C6 for ; Sun, 15 Sep 2013 10:12:54 +0000 (UTC) Received: (qmail 76436 invoked by uid 500); 15 Sep 2013 10:12:54 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 76334 invoked by uid 500); 15 Sep 2013 10:12:53 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 76322 invoked by uid 99); 15 Sep 2013 10:12:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Sep 2013 10:12:51 +0000 Date: Sun, 15 Sep 2013 10:12:51 +0000 (UTC) From: "ChiaHung Lin (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HAMA-802) Skip Hama Pipes native build when cmake is missing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HAMA-802?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D137677= 61#comment-13767761 ]=20 ChiaHung Lin commented on HAMA-802: ----------------------------------- As cmake is not necessary, then this should be no problem.=20 I'll commit this patch, and we can discuss native pipes building, etc. in a= nother thread.=20 =20 > 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=20 > 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=3D2, No such file or directory -> [Help 1] > {code} > 2) Add {code}#include {code} to HamaPipes.cc to solve the follo= wing 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=3D64 > -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 =E2=80=98void* HamaPipes::ping(void*)=E2=80=99: > [exec] /tmp/0.6.3-RC2/c++/src/main/native/pipes/impl/HamaPipes.cc:114= 8:16: > error: =E2=80=98sleep=E2=80=99 was not declared in this scope > [exec] /tmp/0.6.3-RC2/c++/src/main/native/pipes/impl/HamaPipes.cc:116= 7:30: > error: =E2=80=98close=E2=80=99 was not declared in this scope > {code} > [1] http://mail-archives.apache.org/mod_mbox/hama-dev/201309.mbox/%3CCAGn= Sx07dLJt4NEpgh66OQ20wgQHP%2BPvYMNsT1uJ3d69Xg%3DN2%2BQ%40mail.gmail.com%3E > [2] http://mail-archives.apache.org/mod_mbox/hama-dev/201309.mbox/%3cCA+j= dVcznuTkHbPovwVYz55WnY_ffg3ykt4c2w6jLkkUxygwpxg@mail.gmail.com%3e -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira