Return-Path: X-Original-To: apmail-hawq-dev-archive@minotaur.apache.org Delivered-To: apmail-hawq-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87F9E19985 for ; Thu, 17 Mar 2016 03:47:18 +0000 (UTC) Received: (qmail 31480 invoked by uid 500); 17 Mar 2016 03:47:18 -0000 Delivered-To: apmail-hawq-dev-archive@hawq.apache.org Received: (qmail 31416 invoked by uid 500); 17 Mar 2016 03:47:18 -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 31404 invoked by uid 99); 17 Mar 2016 03:47:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2016 03:47:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id CE1B7180517 for ; Thu, 17 Mar 2016 03:47:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_DBL_ABUSE_REDIR=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id DBpTpVyQ1oxN for ; Thu, 17 Mar 2016 03:47:16 +0000 (UTC) Received: from resqmta-po-05v.sys.comcast.net (resqmta-po-05v.sys.comcast.net [96.114.154.164]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 5B60F5FB48 for ; Thu, 17 Mar 2016 03:47:16 +0000 (UTC) Received: from resomta-po-02v.sys.comcast.net ([96.114.154.226]) by resqmta-po-05v.sys.comcast.net with comcast id Wrmy1s0034tLnxL01rnFmv; Thu, 17 Mar 2016 03:47:15 +0000 Received: from tpx ([24.130.135.131]) by resomta-po-02v.sys.comcast.net with comcast id WrnE1s00G2qGB6001rnFMp; Thu, 17 Mar 2016 03:47:15 +0000 Received: from localhost (localhost [127.0.0.1]) by tpx (Postfix) with ESMTP id AC81420B153AB for ; Wed, 16 Mar 2016 20:47:08 -0700 (PDT) Date: Wed, 16 Mar 2016 20:47:08 -0700 From: Konstantin Boudnik To: dev@hawq.incubator.apache.org Subject: Re: build hawq on ubuntu Message-ID: <20160317034708.GT17583@tpx> Mail-Followup-To: dev@hawq.incubator.apache.org References: <20160225004250.GA24478@tpx> <20160314193119.GZ17583@tpx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="en9/O5YN3eJ0yPaf" Content-Disposition: inline In-Reply-To: <20160314193119.GZ17583@tpx> X-Organization: It's something of 'Cos X-PGP-Key: http://www.boudnik.org/~cos/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1458186435; bh=yHIxgGC/GygsMvAi5Y2PzHFuI7wqzr1EfLpJ85CyxIg=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=KOn/myQIp2A0tmB8eU3t4E0rsbK4hgBg3UDlBPHwwN//BT+7OpoqS9u6F1EJnhmIZ PQXjjVHGPr5zQlRgfzmsv8DAVdxuQ5IDRMjFV2wi2yy2HjoiVCw16oQmnOAQL0ZD3T oQplme9+HQH2yyx0b/I4AYUnENc9jb8cW+1Lm3gosGQ1NaqXMdJJlxP9F3XoflvgpF nzVHLurVCrc4fxH5f+OdYL98VfLjj2lCPHlzTRO5Vk4QI4yim/4JbB264NyNcgTrK+ 1zP3l6OZyEQm+uBLOBD3ayqQFm3BNZN1vzakLRyDSiVLdkhhAgwGSRVMYhWna1c4BC ZyPJPhO8uV44A== --en9/O5YN3eJ0yPaf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have decided to send email here, because HAWQ-307 seems to be getting col= d. A few issues I git with Ubuntu build: - building libhdfs (with right set of libprotobuf* packages can go through= ), but from the integration standpoint it is no go at the moment, because there's no .deb package for it, and it isn't a part of Hawq (like libyar= n). I believe it was planned to be included into Hawq code-base, right? - thrift development library isn't readily available (as it is from epel-release repo). Hence, the only option is to build it from scratch. However, it seems to be needed some crazy ^H^H^H^H^H^H exotic dependenci= es like mentioned in [1], otherwise the build fails. If anyone working on HAWQ-307 can chime in - it'd be greatly appreciated. Cheers, Cos 1. http://is.gd/74aF6S On Mon, Mar 14, 2016 at 12:31PM, Konstantin Boudnik wrote: > If there's no objections I will create HAWQ-307 branch and integration the > work from JIRA in there. Correspondinly, with BIGTOP-2320 branch that sho= uld > provide a decent solution for proper Hawq integration with the ecosystem = at > large. >=20 > Please let me know if you see any issues with the approach. Thanks! > Cos >=20 > On Wed, Feb 24, 2016 at 04:42PM, Konstantin Boudnik wrote: > > Check HAWQ-307 where the work for this is done. > >=20 > > Cos > >=20 > > On Sun, Feb 21, 2016 at 03:29PM, Yongzhu Li wrote: > > > Hello, > > >=20 > > > Any one had good experience building hawq on ubuntu. I tried that on a > > > 15.10 ubuntu desktop version. > > >=20 > > > I managed to resolve all dependencies and now the configure script is > > > happy. But my "make" complained something like: > > >=20 > > > /usr/bin/bison -d -o gram.c gram.y > > > gram.y:71.1-13: warning: deprecated directive, use =E2=80=98%name-pre= fix=E2=80=99 > > > [-Wdeprecated] > > > %name-prefix=3D"caql_yy" > > > ^^^^^^^^^^^^^ > > > gcc -O3 -std=3Dgnu99 -Wall -Wmissing-prototypes -Wpointer-arith > > > -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv > > > -fno-aggressive-loop-optimizations -I/usr/include/libxml2 > > > -I../../../../src/include -D_GNU_SOURCE -c -o gram.o gram.c > > > gram.c: In function =E2=80=98caql_yyparse=E2=80=99: > > > gram.c:1368:41: error: =E2=80=98yyscanner=E2=80=99 undeclared (first = use in this function) > > > yychar =3D yylex (&yylval, &yylloc, yyscanner); > > > ^ > > > gram.c:1368:41: note: each undeclared identifier is reported only onc= e for > > > each function it appears in > > > : recipe for target 'gram.o' failed > > > make[4]: *** [gram.o] Error 1 > > >=20 > > >=20 > > > any idea what I missed here? > > >=20 > > > Thanks a lot. > > >=20 > > > Yongzhu >=20 >=20 --en9/O5YN3eJ0yPaf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREIAAYFAlbqKLwACgkQenyFlstYjhKIAwD+NjOEQEtnyi68ttZ60vOfsl3w l0qMKgOXRpnzERpvN0cA/iDBX+vGs9FSoXD5jgYWX3N7g8pd3R9nhm1KkzogdeD5 =yLGw -----END PGP SIGNATURE----- --en9/O5YN3eJ0yPaf--