Bison/Yacc Host requirement

Claus Regelmann rgc at rgc1.inka.de
Fri Dec 22 12:08:57 PST 2006


This decision eliminates the famous KNOPPIX from being used as a startup-system.
At least on my CD (version 5.0.1), bison isn't included. However I solved the problem
by including bison into the tool chain before building bash.
It works with SVN-20061209.

------------ build script ------------------------
...
. MakeTools.done
...
if [ -z "$BISON_DONE" ];then
echo '==============================================================='
echo 'Building BISON'
echo '==============================================================='
tar -jxvf $PACKDIR/bison-1.875a.tar.bz2
cd bison-1.875a
./configure --prefix=/tools || exit 8
make || exit 8
make check || exit 8
make install || exit 8
cd ..
rm -rf bison-1.875a
echo 'BISON_DONE="bison-1.875a"' >>MakeTools.done
fi

if [ -z "$BASH_DONE" ];then
echo '==============================================================='
echo 'Building BASH'
echo '==============================================================='
...

Claus




More information about the lfs-dev mailing list