Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-11-2007, 04:59 AM   #1
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
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.)
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)...
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.

Last edited by pxumsgdxpcvjm; 03-11-2007 at 06:42 AM. Reason: Resolved


building, make

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
i-mate K-JAM and Linux Jongi Linux - General 0 10-17-2006 03:56 AM
Pearl Jam Video on CC License celticgeek General 0 05-21-2006 12:33 AM
jam PIayer Linux - Software 3 01-04-2005 07:11 PM
re-installing jam... robywan Linux - Newbie 3 06-25-2003 05:33 PM
Login jam burp Slackware 7 12-17-2002 02:46 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration