Hi. I've been trying to build the game, SuperTux from its SVN. I've managed to download it and its requirements, however it uses jam for its build system which I cannot get to install correctly.
I've untar-ed the archive, but when I attempt to 'make' it (no ./configure needed), it fails for no apparent reason.
Here's the output from make...
(Once 'jam0' is built, it uses itself to install the rest of the program.)
cc -o ./jam0 builtins.c command.c compile.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c timestamp.c variable.c
...found 205 target(s)...
...updating 33 target(s)...
Yacc1 jamgram.c jamgram.h
yacc -d jamgram.y
...failed Yacc1 jamgram.c jamgram.h ...
...skipped jamgram.o for lack of jamgram.c...
...skipped scan.o for lack of scan.c...
...skipped libjam.a for lack of libjam.a(jamgram.o)...
...skipped jam for lack of libjam.a...
...failed updating 2 target(s)...
...skipped 4 target(s)...
...updated 27 target(s)...
make: *** [all] Error 1
As you can see, the 'yacc' commands fails. The strange thing is that when I type the failing command, 'yacc -d jamgram.y' straight in the terminal, I don't get an error message.
I've tried searching elsewhere but it seems I'm the only one with this problem. Why am I doing wrong? I have no experience with jam before.
A huge thanks to any replies.
For some reason, the bison included in Slackware 11.0 wasn't creating an output file (without a warning). I've compiled bison from source and it's working fine now.