Jan Wieck JanWieck at Yahoo.com
Mon Nov 19 09:02:46 PST 2007
On 11/15/2007 4:38 PM, Vivek Khera wrote:
> I updated my cluster to 1.2.12 today.  All machines are running  
> FreeBSD 6.1/i386 or 6.2/amd64.  It upgraded very nicely on all boxes  
> except one.
> 
> On one box, I happend to have bison 1.75 installed.  This caused slony  
> compile to fail miserably when it tried to regenerate the parser for  
> the log shipper, as shown below.  Simply uninstalling bison allowed it  
> to build to completion and successful deployment.
> 
> What's the minimum version of bison this will work with?  If possible,  
> the configure script should check for that.

Hmmm ... why isn't the pregenerated parser.c included in the package?


Jan

> 
> 
> cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O2 - 
> fno-strict-aliasing -pipe  -Wall -Wmissing-prototypes -Wmissing- 
> declarations -I../.. -DPGSHARE="\"/usr/local/share/postgresql\""  -c - 
> o ipcutil.o ipcutil.c
> bison -y -d  parser.y
> parser.y:358.20: parse error, unexpected ":", expecting ";" or "|"
> parser.y:359.6-366.8: $$ of `arch_tracking' has no declared type
> parser.y:526.15: parse error, unexpected ":", expecting ";" or "|"
> parser.y:527.6-533.26: $4 of `arch_upd_set' has no declared type
> parser.y:527.6-534.26: invalid $ value
> parser.y:527.6-534.26: $6 of `arch_upd_set' has no declared type
> parser.y:527.6-536.29: invalid $ value
> parser.y:527.6-536.29: $7 of `arch_upd_set' has no declared type
> parser.y:724.19-736.11: type clash (`att_elem' `str') on default action
> parser.y:736.15: parse error, unexpected ":", expecting ";" or "|"
> parser.y:737.6-742.30: $5 of `arch_ident_eq_lit' has no declared type
> parser.y:737.6-746.15: $5 of `arch_ident_eq_lit' has no declared type
> parser.y:737.6-748.14: $5 of `arch_ident_eq_lit' has no declared type
> parser.y:737.6-760.14: $5 of `arch_ident_eq_lit' has no declared type
> parser.y:811.18: parse error, unexpected ":", expecting ";" or "|"
> parser.y:812.6-819.8: $$ of `arch_finishtable' has no declared type
> parser.y:841.21: parse error, unexpected ":", expecting ";" or "|"
> parser.y:842.6-849.8: $$ of `arch_seqsetval' has no declared type
> parser.y:872.20: parse error, unexpected ":", expecting ";" or "|"
> parser.y:873.6-880.8: $$ of `arch_pgsetval' has no declared type
> parser.y:1057.15-1062.13: type clash (`str' `') on default action
> parser.y:1062.16: parse error, unexpected ":", expecting ";" or "|"
> gmake[3]: *** [parser.c] Error 1
> gmake[3]: Leaving directory `/var/tmp/n/lorax1/usr/ports/databases/ 
> slony1/work/slony1-1.2.12/src/slony_logshipper'
> gmake[2]: *** [all] Error 2
> 
> 
> 
> 
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-general


-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck at Yahoo.com #


More information about the Slony1-general mailing list