[asterisk-dev] [solarisvoip] BUILD Instructions for Asterisk 1.4.2

Joseph Benden joe at thrallingpenguin.com
Thu Mar 29 07:18:21 MST 2007

Here are the build instructions ONLY for the released Asterisk 1.4.2.  
These instructions do not include actual usage, performance, or any 
other implied information. These instructions ONLY serve to help get 
over the hump of actually COMPILING Asterisk 1.4.2 ON Solaris 10 for 
both SPARC and AMD/Intel!

Asterisk 1.4.2 build notes

* The ZAPTEL and LIBPRI from SolarisVoip.com are NOT currently compatible!

* The CSW package requirements from the existing Asterisk available from
  SolarisVoip.com ARE REQUIRED! See the README available elsewhere on
  the web site.

      WARNING/NOTICE!: Asterisk builds with many warnings!

1. Ensure that /usr/sfw/bin and /usr/ccs/bin are in the env PATH

   BASH shell:  export PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin

2. Download the Asterisk tarball from Asterisk.org

   wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.4.2.tar.gz

3. Extract the tarball

   gtar -xzf asterisk-1.4.2.tar.gz

4. Enter the directory.

   cd asterisk-1.4.2

5. Edit makeopts.in and on line 6, change 'cc' to 'gcc'
6. Download the pre-configured menuselect build file.

   wget -O menuselect.makeopts 

7. Use the following configure line:
   LDFLAGS='-R/usr/sfw/lib -R/opt/csw/lib -L/opt/csw/lib -L/usr/sfw/lib' \
   ./configure --with-curl=/opt/csw --prefix=/opt/asterisk-1.4

8. Run make


Thralling Penguin LLC

More information about the asterisk-dev mailing list