Установка пакетов, необходимых для сборки из исходных текстов

from source code setup gcc compilation

sudo apt install gcc autoconf flex bison automake freetype2 binutils pkgconf make
# debian10
sudo apt install gcc autoconf flex bison automake binutils pkgconf make

Если ошибка:

error: Libtool library used but 'LIBTOOL' is undefined
Устанавливаем пакет libtool
sudo apt-get install libtool