Installing Bison-1.875

Estimated build time:           0.6 SBU
Estimated required disk space:  10.6 MB

Contents of Bison

(Last checked against version 1.875.)

Bison is a parser generator, a replacement for yacc. Bison generates a program that analyzes the structure of a text file.

Installed programs: bison and yacc

Installed library: liby.a

Bison Installation Dependencies

(Last checked against version 1.31.)

Bash: sh
Binutils: ar, as, ld, ranlib
Coreutils: basename, cat, chmod, cp, dirname, echo, expr, head, hostname,
             install, ln, ls, mkdir, mv, rm, rmdir, sleep, tr, uname, uniq
Diffutils: cmp
GCC: cc, cc1, collect2, cpp, gcc
Grep: egrep, fgrep, grep
Make: make
Sed: sed
Texinfo: install-info

Installation of Bison

First we use a patch to bison, backported from CVS, which fixes a minor compilation problem with some packages:

patch -Np1 -i ../bison-1.875-attribute.patch

Prepare Bison for compilation:

./configure --prefix=/usr

Compile the package:

make

This package has a test suite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, the following command will do so (and takes a long time):

make check

And install the package:

make install