I have SuSE 8.2 Pro installed and I'm having trouble building ctwm 3.6.

I applied the "group leader" patch from Rhialto, but I don't think that's the
problem...

I did "xmkmf", followed by "make", but I get errors from bison/yacc:

/usr/local/src/ctwm-3.6>make
bison -y -d gram.y
gram.y:423.3: parse error, unexpected "|"
gram.y:690.10: parse error, unexpected ":", expecting ";" or "|"
gram.y:838.20: parse error, unexpected ":", expecting ";" or "|"
gram.y:849.11: parse error, unexpected ":", expecting ";" or "|"
gram.y:965.9: parse error, unexpected ":", expecting ";" or "|"
make: *** [gram.c] Error 1

I manually changed YACC from "binson -y" in the Makefile to "yacc" and that
got the parser to run correctly, but then when it got to the compile:

/usr/local/src/ctwm-3.6>make
gcc -m32 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fno-strict-aliasing
-I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE                          -D_BSD_SOURCE
-D_SVID_SOURCE
-DFUNCPROTO=15 -DNARROWPROTO    -DUSEM4  -DXPM        -c -o gram.o gram.c
gram.y: In function `yyparse':
gram.y:686: error: parse error before '}' token
make: *** [gram.o] Error 1

I didn't see anything in README or PROBLEMS about bison...

I'm running gcc 3.3, bison 1.75, and yacc 91.7.30 if that makes any
difference...

Thanks!
-Michael

Reply via email to