Jan Stap <Jan(_dot_)Stap(_at_)atosorigin(_dot_)com>:
I tried to build fetchmail 5.9.7 on my Linux system (its details are below),
but the make broke with:
jan(_at_)odin:~/fetchmail/fetchmail-5.9.7$ make
expect conflicts: 2 shift/reduce
bison -y -d ./rcfile_y.y
conflicts: 2 shift/reduce
mv y.tab.c rcfile_y.c
mv -f y.tab.h rcfile_y.h
cd . # && /home/jan/fetchmail/fetchmail-5.9.7/missing autoheader
echo timestamp> ./stamp-h.in
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -c -I. -I. -I.
/intl -I./intl -O rcfile_y.c
./rcfile_y.y: In function `yyparse':
./rcfile_y.y:347: parse error before `}'
./rcfile_y.y:373: parse error before `}'
make: *** [rcfile_y.o] Error 1
Fetchmail 5.9.6 builds fine however. The difference is in the file
rcfile_y.y:
jan(_at_)odin:~/fetchmail/fetchmail-5.9.7$ diff ../fetchmail-5.9.6/rcfile_y.y
rcfile_y.y|less
341c341,347
< | SSL {current.use_ssl = FLAG_TRUE;}
---
| SSL {
#ifdef SSL_ENABLE
current.use_ssl = FLAG_TRUE;
#else
yyerror(GT_("SSL is not enabled"))
#endif
}
361c367,373
< | NO SSL {current.use_ssl = FLAG_FALSE;}
---
| NO SSL {
#ifdef SSL_ENABLE
current.use_ssl = FLAG_FALSE;
#else
yyerror(GT_("SSL is not enabled"))
#endif
}
This will be fixed in 5.9.8. In future, however, please send your
patches in -c or -u format.
--
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>