[Gems-users] Compilation error for Ruby: " make[2]: bison: Command not found"


Date: Sat, 26 Aug 2006 20:53:01 -0700 (PDT)
From: Forum Forum <forum_86@xxxxxxxxx>
Subject: [Gems-users] Compilation error for Ruby: " make[2]: bison: Command not found"
I am trying to install GEMS (Release 1.1 for GEMS and SIMICS 2.2)  for x86 machine in Linux  - I used the patch for x86.

When I tried this step (after step 7):
make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
from,

(http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/QuickStart) to compile Ruby, I get the following error, along with others:

make[2]: bison: Command not found

The details after the command is issued are given below. Please help.

Thanks,

Ataur.


[patwarya@chipdesign ~/GEMS]$   cd $GEMS/ruby
[patwarya@chipdesign ruby]$ make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bc ast
ls: generated/MOSI_SMP_bcast/*.C: No such file or directory
Ruby: Building protocol: MOSI_SMP_bcast
Ruby: Making slicc
cd ../slicc; make
make[1]: Entering directory `/home/patwarya/GEMS/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/home/patwarya/GEMS/slicc'
mkdir -p generated/
touch generated/created
SLICC: Generating parser
bison --verbose --defines -o generated/parser.c parser/parser.y
make[2]: bison: Command not found
make[2]: *** [generated/generated] Error 127
make[2]: Leaving directory `/home/patwarya/GEMS/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/patwarya/GEMS/slicc'
make: *** [all] Error 2



Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.
[← Prev in Thread] Current Thread [Next in Thread→]