LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot compile Jam 2.5. (https://www.linuxquestions.org/questions/linux-software-2/cannot-compile-jam-2-5-a-536469/)

pxumsgdxpcvjm 03-11-2007 03:59 AM

Cannot compile Jam 2.5. - Resolved
 
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.)
Code:

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
./jam0
...found 205 target(s)...
...updating 33 target(s)...
MkDir1 bin.linuxx86
Cc bin.linuxx86/builtins.o
Cc bin.linuxx86/command.o
Cc bin.linuxx86/compile.o
Cc bin.linuxx86/execunix.o
Cc bin.linuxx86/fileunix.o
Cc bin.linuxx86/pathunix.o
Yacc1 jamgram.c jamgram.h

yacc -d jamgram.y

...failed Yacc1 jamgram.c jamgram.h ...
...removing jamgram.c
...removing jamgram.h
...skipped jamgram.o for lack of jamgram.c...
Cc bin.linuxx86/expand.o
Cc bin.linuxx86/glob.o
Cc bin.linuxx86/hash.o
Cc bin.linuxx86/headers.o
Cc bin.linuxx86/lists.o
Cc bin.linuxx86/make.o
Cc bin.linuxx86/make1.o
Cc bin.linuxx86/newstr.o
Cc bin.linuxx86/option.o
Cc bin.linuxx86/parse.o
Cc bin.linuxx86/regexp.o
Cc bin.linuxx86/rules.o
...skipped scan.o for lack of scan.c...
Cc bin.linuxx86/search.o
Cc bin.linuxx86/timestamp.o
Cc bin.linuxx86/variable.o
...skipped libjam.a for lack of libjam.a(jamgram.o)...
Cc bin.linuxx86/mkjambase.o
Link bin.linuxx86/mkjambase
Chmod1 bin.linuxx86/mkjambase
Cc bin.linuxx86/jam.o
GenFile1 jambase.c
Cc bin.linuxx86/jambase.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.


RESOLVED: 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.


All times are GMT -5. The time now is 12:55 AM.