Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column

Build and Install Instructions

Now we can compile and install Asterisk. To compile Asterisk, simply type make at the Linux command line.

No Format
[root@server asterisk-1114.X.Y]# make

The compiling step will take several minutes, and you'll see the various file names scroll by as they are being compiled. Once Asterisk has finished compiling, you'll see a message that looks like:

No Format
+--------- Asterisk Build Complete ---------+
+ Asterisk has successfully been built, and +
+ can be installed by running:              +
+                                           +
+                make install               +
+-------------------------------------------+
+--------- Asterisk Build Complete ---------+
Column
Panel
titleOn this Page

Table of Contents

...

No Format
[root@server asterisk-1114.X.Y]# make install

When finished, Asterisk will display the following warning:

...

No Format
[root@server asterisk-1114.X.Y]# ./configure CFLAGS=-pg LDFLAGS=-pg

...

No Format
[root@server asterisk-1114.X.Y]# make NOISY_BUILD=yes

...

No Format
[root@server asterisk-1114.X.Y]# menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts

[root@server asterisk-1114.X.Y]# make

Installing to a custom directory

...

No Format
[root@server asterisk-1114.X.Y]# ./configure --prefix=/usr/local/my_special_folder

...