View Source

h1. How to install Asterisk 1.4 in specified directory

This should be a part of asterisk 1.4 installation guide IMHO.
{noformat}
#!sh

DIR=/home/asterisk/pbx

./configure \
--bindir=$DIR/bin \
--sbindir=$DIR/sbin \
--libexecdir=$DIR/libexec \
--sysconfdir=$DIR/etc \
--sharedstatedir=$DIR/com \
--localstatedir=$DIR/var \
--libdir=$DIR/lib \
--includedir=$DIR/include \
--oldincludedir=$DIR/include \
--datarootdir=$DIR/share \
--datadir=$DIR/dataroot \
--infodir=$DIR/info \
--localedir=$DIR/locale \
--mandir=$DIR/man \
--docdir=$DIR/doc \
--htmldir=$DIR/html \
--dvidir=$DIR/doc/dvi \
--pdfdir=$DIR/doc/pdf \
--psdir=$DIR/doc/psdir \
--with-h323=/home/asterisk/src/openh323 \
--with-pwlib=/home/asterisk/src/pwlib \
--with-zaptel=${DIR}
{noformat}