There are many common compiling issues that users often run into. Here are some of the more common problems, and how to resolve them.
First, let’s take a look at some of the errors you may encounter when compiling Asterisk.
If you receive the following error while attempting to compile Asterisk, you must install the gcc compiler and its dependencies:
checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** [editline/libedit.a] Error 1
The following packages are required for gcc:
These can be installed manually, by copying the files off of
your distribution disks, or through the yum
package manager, with the command
yum install gcc.
The following error may be encountered if the bison parser, which is required for parsing expressions in the extensions.conf file, is not found:
bison ast_expr.y -name-prefix=ast_yy -o ast_expr.c make: bison: Command not found make: *** [ast_expr.c] Error 127
The following files are required in order to install Asterisk;
they can be installed with the
yum install bison command:
The OpenSSL development packages are required by Asterisk within the res_crypto.so module for RSA key checks performed by the IAX2 protocol. If the OpenSSL development packages are not installed, the following ...