Add 8.36 - Build gdbm

This commit is contained in:
Aditya 2023-01-12 11:07:34 +05:30
parent a474501dc2
commit fa5e3a648b
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,28 @@
#!/bin/bash
cd /sources
tar xf gdbm-1.23.tar.gz
cd gdbm-1.23
./configure --prefix=/usr \
--disable-static \
--enable-libgdbm-compat
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf gdbm-1.23

View file

@ -966,3 +966,15 @@ then
stop_script "chapter8/8.35-libtool.sh"
fi
# Chapter 8.36
# ============
echo "Building GDBM"
su -c "bash $SCRIPT/chapter8/8.36-gdbm.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.36-gdbm.sh"
fi