LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-11-2007, 03:59 AM   #1
pxumsgdxpcvjm
Member
 
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.)
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.

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


Reply

Tags
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 02:56 AM
Pearl Jam Video on CC License celticgeek General 0 05-20-2006 11:33 PM
jam PIayer Linux - Software 3 01-04-2005 06:11 PM
re-installing jam... robywan Linux - Newbie 3 06-25-2003 04:33 PM
Login jam burp Slackware 7 12-17-2002 01:46 PM


All times are GMT -5. The time now is 11:49 AM.

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