From: Gilles D. <gr...@sc...> - 2004-04-26 19:53:44
|
According to Joe R. Jah: > On Fri, 23 Apr 2004, Gilles Detillieux wrote: > > Below is an updated patch, which should apply properly to 3.2.0b5. > > Thank you Guilles; this patch applies and compiles like a charm;) Hey, that's a new spelling! Most people just drop an "l". ;-) > > > I see that except one, the patches in the patch site have not been > > > committed to 3.2.0b5-20040418; when will they be committed? > > > > We'll obviously need to look into this, to determine the suitability > > and reliability of each patch. Certainly the bug fixes need to get in > > in some form or other. (Thank you, Lachlan!!) > > I guess yacc doesn't support passing parameters to yyparse(), or does > > it differently. Anyone have ideas about this? > > > > > I also reconfigured with GNU Bison version 1.28; this is what I got:( > > > > I was able to build earlier 3.2 betas with bison 1.28, so I'm not sure > > why there's a problem. > > > > > sed '/^#/ s|y\.tab\.c|conf_parser.cxx|' y.tab.c >conf_parser.cxxt && mv conf_parser.cxxt conf_parser.cxx > > > sed: y.tab.c: No such file or directory > > > gmake[1]: *** [conf_parser.cxx] Error 1 > > > gmake[1]: Leaving directory `/usr/tmp/htdig/htdig-3.2.0b5/htcommon' > > > gmake: *** [all-recursive] Error 1 > > > > > > Does it require a more recent version of Bison? > > > > That's odd, as y.tab.c is the standard yacc/bison output file name. > > I believe the file name it had output was conf_parser.yxx.tab.c: ... > > Are there any error messages above that would help? How did you > > reconfigure it to use bison instead of yacc? > > Those stated above were the only error messages. Here is how I > reconfigured/recompiled: > > gmake distclean > YACC="/usr/local/bin/bison" > export YACC > ./configure > ... > gmake Try YACC="/usr/local/bin/bison -y". See "man bison"... -y --yacc --fixed-output-files Equivalent to -o y.tab.c; the parser output file is called y.tab.c, and the other outputs are called y.output and y.tab.h. The purpose of this switch is to imitate yacc's output file name conventions. Thus, the following shell script can substitute for yacc: bison -y $* -- Gilles R. Detillieux E-mail: <gr...@sc...> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) |