Now I get the following error...
conf_parser.cxx: In function `int yyparse()':
conf_parser.cxx:340: error: `aConf' undeclared (first use this function)
conf_parser.cxx:340: error: (Each undeclared identifier is reported only once
for each function it appears in.)
conf_parser.cxx:271: warning: label `yyerrlab' defined but not used
/usr/include/g++/iostream: At top level:
conf_parser.cxx:3: warning: `char yyrcsid[52]' defined but not used
make[1]: *** [conf_parser.lo] Error 1
make[1]: Leaving directory `/mnt/data/local/src/htdig/htcommon'
make: *** [all-recursive] Error 1
If I grep the config.log file I see that bison is detected...
[EMAIL PROTECTED]:/usr/local/src/htdig> grep "bison" config.log configure:4198: checking for bison configure:4214: found /usr/bin/bison configure:4224: result: bison -y ac_cv_prog_YACC='bison -y' YACC='bison -y'
If I grep for aconf, the function that seems to be causing all the tears, I get...
[EMAIL PROTECTED]:/usr/local/src/htdig> grep -i "aconf" * -R
htcommon/conf_parser.cxx:#define YYPARSE_PARAM aConf
htcommon/conf_parser.cxx: ((HtConfiguration *)aConf)->AddParsed(yyvsp[0].ConfLine->name,yyvsp[0].ConfLine->value);
htcommon/conf_parser.cxx: ((HtConfiguration *)aConf)->Add(yyvsp[-10].str,yyvsp[-8].str,yyvsp[-5].ConfLines);
htcommon/conf_parser.yxx:#define YYPARSE_PARAM aConf
htcommon/conf_parser.yxx: ((HtConfiguration *)aConf)->AddParsed($1->name,$1->value);
htcommon/conf_parser.yxx: ((HtConfiguration *)aConf)->Add($2,$4,$7);
The only other case I can find of this error was from the dev mailing list back in April...
http://sourceforge.net/mailarchive/message.php?msg_id=8195355
It appears that when Joe tried the following (for me it is /usr/bin/bison) and it worked for him...
gmake distclean
YACC="/usr/local/bin/bison"
export YACC
./configure
gmake
...but it made no difference for me :-( even using "export YACC="/usr/bin/bison -y" as later suggested by Gilles.
Any help on solving this puzzle would be appreciated. Thanks, SimonB
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ ht://Dig Developer mailing list: [EMAIL PROTECTED] List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-dev
