Add 8.42 - Build xml parser

This commit is contained in:
Aditya 2023-01-12 11:46:55 +05:30
parent 0ebac94eb3
commit ebae03e4f9
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,26 @@
#!/bin/bash
cd /sources
tar xf XML-Parser-2.46.tar.gz
cd XML-Parser-2.46
perl Makefile.PL
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make test
make install
cd /sources
rm -rf XML-Parser-2.46

View file

@ -1043,3 +1043,15 @@ then
stop_script "chapter8/8.41-perl.sh" stop_script "chapter8/8.41-perl.sh"
fi fi
# Chapter 8.42
# ============
echo "Building XML::Parser"
su -c "bash $SCRIPT/chapter8/8.42-xml-parser.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.42-xml-parser.sh"
fi