hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clay Baenziger (BLOOMBERG/ 731 LEX)" <cbaenzi...@bloomberg.net>
Subject Re: build hawq on ubuntu
Date Thu, 25 Feb 2016 00:48:42 GMT
Hi Yongzhu,

While HAWQ-307 will give you the right code to build. You are hitting a Bison issue.

Bison 2.5.1 is absolutely necessary. (There is a bison bug in newer versions as such as is
packaged by Ubuntu.) I build bison via the Chef script at: https://github.com/cbaenziger/incubator-hawq/blob/test_kitchen/chef/hawq_build/recipes/bison.rb
(and for the node variables see https://github.com/cbaenziger/incubator-hawq/blob/test_kitchen/chef/hawq_build/attributes/default.rb).


From: user@hawq.incubator.apache.org At: Feb 24 2016 19:42:54
To: dev@hawq.incubator.apache.org, user@hawq.incubator.apache.org
Subject: Re: build hawq on ubuntu

Check HAWQ-307 where the work for this is done.


On Sun, Feb 21, 2016 at 03:29PM, 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 ‘%name-prefix’
> [-Wdeprecated]
>  %name-prefix="caql_yy"
>  ^^^^^^^^^^^^^
> gcc -O3 -std=gnu99  -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 ‘caql_yyparse’:
> gram.c:1368:41: error: ‘yyscanner’ undeclared (first use in this function)
>        yychar = yylex (&yylval, &yylloc, yyscanner);
>                                          ^
> gram.c:1368:41: note: each undeclared identifier is reported only once for
> each function it appears in
> <builtin>: recipe for target 'gram.o' failed
> make[4]: *** [gram.o] Error 1
> any idea what I missed here?
> Thanks a lot.
> Yongzhu

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message