Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem
Date
Msg-id 4AA542FD.4070004@dunslane.net
Whole thread Raw
Responses Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem
List 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


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: CREATE LIKE INCLUDING COMMENTS and STORAGES
Next
From: Tom Lane
Date:
Subject: Re: Patch: update Bonjour support to the newer non-deprecated API