OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

6.31.1. Installation of Bison

First, fix a build problem with the current version:


sed -i '6855 s/mv/cp/' Makefile.in

sed -i '6855 s/mv/cp/' Makefile.in

Prepare Bison for compilation:


./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.4.1

./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.4.1

Compile the package, but work around a race condition in the current version:


make -j1

make -j1

There is a circular dependency between bison and flex with regard to the checks. If desired, after installing flex in the next section, the bison package can be rebuilt and the bison checks can be run with make check.

Install the package:


make install

make install


Top OS Cloud Computing at OnWorks: