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 5829E18059 for ; Mon, 22 Feb 2016 18:38:01 +0000 (UTC) Received: (qmail 85121 invoked by uid 500); 22 Feb 2016 18:38:01 -0000 Delivered-To: apmail-hawq-dev-archive@hawq.apache.org Received: (qmail 85073 invoked by uid 500); 22 Feb 2016 18:38:01 -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 85027 invoked by uid 99); 22 Feb 2016 18:38:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2016 18:38:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2C93A1A06A5 for ; Mon, 22 Feb 2016 18:38:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.298 X-Spam-Level: * X-Spam-Status: No, score=1.298 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pivotal-io.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7X2U4gx4MYwi for ; Mon, 22 Feb 2016 18:37:59 +0000 (UTC) Received: from mail-qg0-f42.google.com (mail-qg0-f42.google.com [209.85.192.42]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id CED2E5FE6A for ; Mon, 22 Feb 2016 18:37:58 +0000 (UTC) Received: by mail-qg0-f42.google.com with SMTP id y9so119649138qgd.3 for ; Mon, 22 Feb 2016 10:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=HYxtizKsJPZqJMoo7bhcFcJ7AWSG68ItCJRWWsmqHh0=; b=FGSQW+YEHd/ONNVIJA6q49ezLY1e9fiYTk6mhSgxoK9cyKMEqs9PDI8PngMIcX+Nd4 5gGo403zT9Ypa9vybxBAgItU1cBZWcSVwTQMCaDyZFj6bhhSQmx9DMkI0AlmVKRYr0Nr sprai1NywPVxjTwN3uUkUUvOaMHjNJW2IE+uKz+2Qm7oNnhaRi7Q56WcnfreAfQm3V4B JGrVqINxVfwtks0HJo90gt0b4nKjWfDfL4ZzgLrweOa4KXwtJyt43sX3v2nLWX/jDW4Q HGPbftGX/vuKYPm8HTtcz+YZ7gbN6JeSC/2oSg0FGuSA43IQxsEQOpe+Rs6OYyXXVQQi +UAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=HYxtizKsJPZqJMoo7bhcFcJ7AWSG68ItCJRWWsmqHh0=; b=NAVLglxxvj7/P+BpTF5UrZ9T1aqh/bSDhP28WK5W1WYe5NUH6A5hxb7SHXKADD0KV9 mbzNlPwo3gzCe/iKL5EqJwQh+j46R1R2SvYdN/tl3KDpGnIESni6r+XJF18IClvhKB31 NESA/mVJiSD+a3MLiK1cTMnBrmwYDb2gtS0NuDwmkuJxnE2sjpnb4FIjqIox4dB2K8DD PlqsY8yoiJYvHMT8B6CGzFR1HlO3vvJ8FTDkpLiY/uTNX6pvKS91cC1OmPuL6vN2Daeb pDNPLUdMTTM40MgMCVDHNl+rinG9Naa0U0ndgka+DMdKXaSD3fwxsrtQkSlG0WXbCUsv nm2g== X-Gm-Message-State: AG10YOQmWIbeODRNI7EeSBOtUwrgHXKkvx0iw5ue9sT1sIHYJfw5Ha1zzCw4eVc9t/DCXMaPT5IjmmGR5ySc6RE2 X-Received: by 10.140.106.165 with SMTP id e34mr36776381qgf.23.1456166272318; Mon, 22 Feb 2016 10:37:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Ting(Goden) Yao" Date: Mon, 22 Feb 2016 18:37:42 +0000 Message-ID: Subject: Re: build hawq on ubuntu To: dev@hawq.incubator.apache.org, user@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113a6d206558fd052c6021cc --001a113a6d206558fd052c6021cc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Here is the JIRA: https://issues.apache.org/jira/browse/HAWQ-307 and PR: https://github.com/apache/incubator-hawq/pull/250 On Sun, Feb 21, 2016 at 4:42 PM Lei Chang wrote: > Hi Yongzhu, > > Build on ubuntu is not supported yet. there is a pull request for this, i= t > might be helpful if you take a look. > > Cheers > Lei > > > > On Mon, Feb 22, 2016 at 7:29 AM, Yongzhu Li wrote: > > > Hello, > > > > Any one had good experience building hawq on ubuntu. I tried that on a > > 15.10 ubuntu desktop version. > > > > I managed to resolve all dependencies and now the configure script is > > happy. But my "make" complained something like: > > > > /usr/bin/bison -d -o gram.c gram.y > > gram.y:71.1-13: warning: deprecated directive, use =E2=80=98%name-prefi= x=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 us= e in this > function) > > yychar =3D yylex (&yylval, &yylloc, yyscanner); > > ^ > > gram.c:1368:41: note: each undeclared identifier is reported only once > for > > each function it appears in > > : recipe for target 'gram.o' failed > > make[4]: *** [gram.o] Error 1 > > > > > > any idea what I missed here? > > > > Thanks a lot. > > > > Yongzhu > > > --001a113a6d206558fd052c6021cc--