I've had a problem compiling fetchmail-5.9.8; a fix is enclosed.
I did the normal ./configure and make, and it bombed out with:
philh:~/ftpin/fetchmail-5.9.8> make
expect conflicts: 2 shift/reduce
yacc -d ./rcfile_y.y
yacc: 2 shift/reduce conflicts.
mv y.tab.c rcfile_y.c
mv -f y.tab.h rcfile_y.h
cd . # && autoheader
echo timestamp> ./stamp-h.in
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -c -I. -I. -I./int
l -I./intl -O rcfile_y.c
./rcfile_y.y: In function `yyparse':
./rcfile_y.y:373: parse error before `}'
make: *** [rcfile_y.o] Error 1
I had a look at rcfile_y.y and the problem is a missing ";". Here's a diff:
philh:~/ftpin/fetchmail-5.9.8> diff -u rcfile_y_original.y rcfile_y.y
--- rcfile_y_original.y Mon Feb 18 22:30:45 2002
+++ rcfile_y.y Mon Feb 18 22:31:29 2002
@@ -368,7 +368,7 @@
#ifdef SSL_ENABLE
current.use_ssl = FLAG_FALSE;
#else
- yyerror(GT_("SSL is not enabled"))
+ yyerror(GT_("SSL is not enabled"));
#endif
}
It compiles once I do that.
(I am using SuSE 7.1; Linux 2.4.0; gcc 2.95.2)
--
/// Philip Hunt /// philh(_at_)comuno(_dot_)freeserve(_dot_)co(_dot_)uk ///
Herbivore, a zero-effort email encryption system. Details at:
<http://www.vision25.demon.co.uk/oss/herbivore/intro.html>