Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CD131200C38 for ; Wed, 15 Mar 2017 19:45:11 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CB9EF160B78; Wed, 15 Mar 2017 18:45:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EF1B3160B60 for ; Wed, 15 Mar 2017 19:45:10 +0100 (CET) Received: (qmail 44335 invoked by uid 500); 15 Mar 2017 18:45:10 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 44320 invoked by uid 99); 15 Mar 2017 18:45:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2017 18:45:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7C008C14A2 for ; Wed, 15 Mar 2017 18:45:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.869 X-Spam-Level: X-Spam-Status: No, score=-1.869 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id BW2TRM-AlJ8C for ; Wed, 15 Mar 2017 18:45:07 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id BA46E5FCD1 for ; Wed, 15 Mar 2017 18:45:05 +0000 (UTC) Received: (qmail 44061 invoked by uid 99); 15 Mar 2017 18:45:04 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2017 18:45:04 +0000 Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 4A57E1A091F for ; Wed, 15 Mar 2017 18:45:04 +0000 (UTC) Received: by mail-qk0-f171.google.com with SMTP id y76so20819492qkb.0 for ; Wed, 15 Mar 2017 11:45:04 -0700 (PDT) X-Gm-Message-State: AFeK/H0GHwCfN7s3pum0z2u9/2P4BiQ8rNkuqRr+LNqDf5acuXexXQY2zmfYxJCYY+knjm8p/LKDoaONNS9kiL5n X-Received: by 10.55.155.88 with SMTP id d85mr4009953qke.233.1489603503138; Wed, 15 Mar 2017 11:45:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.200.216 with HTTP; Wed, 15 Mar 2017 11:44:42 -0700 (PDT) In-Reply-To: References: From: Ed Espino Date: Wed, 15 Mar 2017 11:44:42 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Need help on HAWQ Build To: ketan_kunde@persistent.com Cc: dev@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=94eb2c0751bca9c9f5054ac95776 archived-at: Wed, 15 Mar 2017 18:45:12 -0000 --94eb2c0751bca9c9f5054ac95776 Content-Type: text/plain; charset=UTF-8 Ketan, I just completed a build of HAWQ on Ubuntu 16.04.2 LTS. You might find my notes helpful. I have a few changes in my Fork that allow the build to complete. I have been able to successfully run HAWQ's unit tests and hope to run other functional tests soon. Regards, -=e -- *Ed Espino* ## ====================================================================== ## Ubuntu ## ====================================================================== NAME="Ubuntu" VERSION="16.04.2 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.2 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial ## ====================================================================== ## Enable ssh ## ====================================================================== sudo apt-get install openssh-server sudo service ssh status sudo nano /etc/ssh/sshd_config sudo service ssh restart ## ====================================================================== ## Update system ## ====================================================================== apt-get update apt-get upgrade ## ====================================================================== ## Retrieve build dependencies ## ====================================================================== apt-get -y install gcc g++ \ automake \ cmake \ flex \ git \ gperf \ libapr1-dev \ libbz2-dev \ libcurl4-openssl-dev \ libevent-dev \ libgsasl7-dev \ libgss-dev \ libjson-c-dev \ libjson-perl \ libkrb5-dev \ libldap2-dev \ libpam0g-dev \ libperl-dev \ libprotobuf-dev \ libreadline-dev \ libsnappy-dev \ libesmtp-dev \ libsnmp-dev \ libssl-dev \ libxml2-dev \ libyaml-dev \ maven \ openjdk-8-jdk \ protobuf-compiler \ python-dev \ zlib1g-dev ## ---------------------------------------------------------------------- ## JAVA_HOME ## ---------------------------------------------------------------------- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 ## ---------------------------------------------------------------------- ## Setup local directory where dependencies will be built ## ---------------------------------------------------------------------- DEPSINSTDIR=/root/deps mkdir ${DEPSINSTDIR} ## ---------------------------------------------------------------------- ## Build HAWQ compatible BISON 2.5.1. The BISON version (3.0.4) in ## supported repositories is incompatible. ## ## http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz ## ---------------------------------------------------------------------- cd /root wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz -O bison-2.5.1.tar.gz tar xf bison-2.5.1.tar.gz cd /root/bison-2.5.1 ./configure make make check make install ## ---------------------------------------------------------------------- ## Although Boost is available in repositories, I took the time to ## identify the minimal components required to build Thrift and ## HAWQ. This is also the latest released Boost 1.63 package. ## ## https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz/download ## ---------------------------------------------------------------------- cd /root wget -nv https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz/download -O boost_1_63_0.tar.gz tar xf boost_1_63_0.tar.gz cd /root/boost_1_63_0 ./bootstrap.sh --prefix=${DEPSINSTDIR} ./b2 --with-atomic \ --with-chrono \ --with-date_time \ --with-filesystem \ --with-iostreams \ --with-program_options \ --with-test \ --with-thread \ install ## ---------------------------------------------------------------------- ## Build Thrift - a pre-built package is not available. ## ## http://www-us.apache.org/dist/thrift/0.10.0/thrift-0.10.0.tar.gz ## ---------------------------------------------------------------------- cd /root wget -nv http://www-us.apache.org/dist/thrift/0.10.0/thrift-0.10.0.tar.gz -O thrift-0.10.0.tar.gz tar xf thrift-0.10.0.tar.gz cd /root/thrift-0.10.0 ./configure --prefix=${DEPSINSTDIR} \ --with-boost=${DEPSINSTDIR} \ --disable-plugin \ --with-cpp \ --without-perl \ --without-python \ --without-java make make check make install ## ---------------------------------------------------------------------- ## Build from my "ubuntu" fork I hope to create a PR after I run HAWQ ## tests beyond the available unittests (btw: which are passing). ## ---------------------------------------------------------------------- cd /root git clone https://github.com/edespino/incubator-hawq.git cd /root/incubator-hawq git checkout ubuntu ./configure --with-pgport=5432 \ --with-libedit-preferred \ --enable-snmp \ --with-perl \ --with-python \ --with-java \ --with-openssl \ --with-pam \ --without-krb5 \ --with-gssapi \ --with-ldap \ --with-pgcrypto \ --enable-orca \ --with-includes=${DEPSINSTDIR}/include:${DEPSINSTDIR}:/usr/include \ --with-libraries=${DEPSINSTDIR}/lib:${DEPSINSTDIR} make ## ---------------------------------------------------------------------- ## Run HAWQ unittests and complete installation ## ---------------------------------------------------------------------- export LD_LIBRARY_PATH=${DEPSINSTDIR}/lib cd /root/incubator-hawq/src/backend make unittest-check make install ## ---------------------------------------------------------------------- On Wed, Mar 15, 2017 at 6:19 AM, Ketan Kunde wrote: > HI, > > I am building HAWQ on s390x platform. > I am referring the below link to build and Install > https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install > > > I have been able to configure the HAWQ > I have also started Hadoop hdfs file system > But when I start building HAWQ I get stuck at the below test case. > > - GoogleTest check: > CMake Error at /usr/share/cmake-3.3/Modules/FindPackageHandleStandardArgs.cmake:148 > (message): > Could NOT find GoogleTest (missing: GoogleTest_CHECK_FINE) > Call Stack (most recent call first): > /usr/share/cmake-3.3/Modules/FindPackageHandleStandardArgs.cmake:388 > (_FPHSA_FAILURE_MESSAGE) > CMake/FindGoogleTest.cmake:52 (find_package_handle_standard_args) > CMakeLists.txt:23 (FIND_PACKAGE) > > Can you help me resolve this > > > Regards > Ketan > > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information which is > the property of Persistent Systems Ltd. It is intended only for the use of > the individual or entity to which it is addressed. If you are not the > intended recipient, you are not authorized to read, retain, copy, print, > distribute or use this message. If you have received this communication in > error, please notify the sender and delete all copies of this message. > Persistent Systems Ltd. does not accept any liability for virus infected > mails. > > --94eb2c0751bca9c9f5054ac95776--