Add 8.32 - Build bison

This commit is contained in:
Aditya 2023-01-11 15:43:49 +05:30
parent c5adcaae44
commit dbd6b55436
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,19 @@
#!/bin/bash
cd /sources
tar xf bison-3.8.2.tar.xz
cd bison-3.8.2
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.2
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf bison-3.8.2

View file

@ -918,3 +918,15 @@ then
stop_script "chapter8/8.31-gettext.sh"
fi
# Chapter 8.32
# ============
echo "Building bison"
su -c "bash $SCRIPT/chapter8/8.32-bison.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.32-bison.sh"
fi