Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Robert Creager <robert(at)logicalchaos(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem
Date: 2009-09-07 17:29:33
Message-ID: 4AA542FD.4070004@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: buildfarm-members pgsql-general pgsql-hackers

Robert Creager wrote:
>
> Upgraded to Snow Leopard Saturday, and am having problems building now.
>
> The build logs are here
> http://buildfarm.postgresql.org/cgi-bin/show_status.pl?member=polecat
>
> And the failing part is here:
> make -C preproc all
> make -C ../../../../src/port all
> make[5]: Nothing to be done for `all'.
> "/usr/bin/perl" ./parse.pl . < ../../../backend/parser/gram.y > preproc.y
> /usr/bin/bison -d -o preproc.c preproc.y
> /usr/bin/flex -o'pgc.c' pgc.l
> /opt/local/bin/ccache gcc -no-cpp-precomp -I/opt/local/include -Wall
> -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
> -Wendif-labels -fno-strict-aliasing -fwrapv -g -DECPG_COMPILE
> -I../include -I../../../../src/interfaces/ecpg/include -I. -I.
> -DMAJOR_VERSION=4 -DMINOR_VERSION=6 -DPATCHLEVEL=0
> -I../../../../src/include -I/usr/include/libxml2 -c -o preproc.o
> preproc.c
> In file included from preproc.y:12065:
> pgc.c:161: error: conflicting types for 'yyleng'
> extern.h:43: error: previous declaration of 'yyleng' was here
> pgc.c:288: error: conflicting types for 'yyleng'
> extern.h:43: error: previous declaration of 'yyleng' was here
> make[4]: *** [preproc.o] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>

Please try building by hand and examine the files to find out what the
conflict is between these declarations.

This is really a -hackers question.

cheers

andrew

In response to

Responses

Browse buildfarm-members by date

  From Date Subject
Next Message Robert Creager 2009-09-07 18:59:28 Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem
Previous Message Robert Creager 2009-09-07 16:35:57 Snow Leopard bison/flex build problem

Browse pgsql-general by date

  From Date Subject
Next Message Robert Creager 2009-09-07 18:59:28 Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem
Previous Message Robert Creager 2009-09-07 16:35:57 Snow Leopard bison/flex build problem

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-09-07 17:31:54 Re: Patch: update Bonjour support to the newer non-deprecated API
Previous Message David Fetter 2009-09-07 17:12:16 Re: CREATE LIKE INCLUDING COMMENTS and STORAGES