1. If there is an error in meson compilation:
then there is a high probability that there is a problem with the meson installation.
It cannot be installed with apt install meson, but installed through pip.
First install python 2.7
and then execute these three steps:
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
sudo python2 get-pip.py
python2 -m pip install scons