System information

make: gcc: command not found
This means that the Asterisk configure script is unable to find your C compiler, which
typically means you have not yet installed one. Be sure to install the gcc package for
your system.
Ubuntu CentOS
$ sudo apt-get install gcc $ sudo yum install gcc
configure: error: C++ preprocessor “/lib/cpp” fails sanity check
This error is presented by the Asterisk configure script when you have not installed the
GCC C++ preprocessor.
Ubuntu CentOS
$ sudo apt-get install g++ $ sudo yum install gcc-c++
configure: error: *** Please install GNU make. It is required to build Asterisk!
This error is encountered when you have not installed the make application, which is
required to build Asterisk.
Ubuntu CentOS
$ sudo apt-get install make $ sudo yum install make
configure: *** XML documentation will not be available because the
‘libxml2’ development package is missing.
You will encounter this error when the XML parser libraries are not installed. These
are required by Asterisk 1.8 and later, since console documentation (e.g., when you
run core show application dial on the Asterisk CLI) is generated from XML.
Ubuntu CentOS
$ sudo apt-get install libxml2-dev $ sudo yum install libxml2-devel
configure: error: *** termcap support not found
This error happens when you don’t have the ncurses development library installed,
which is required by menuselect and for other console output in Asterisk.
Ubuntu CentOS
$ sudo apt-get install ncurses-dev $ sudo yum install ncurses-devel
Common Issues | 67