Hi,
I’m trying to install asterisk for my first time and i can’t execute the make.
I do :
download :
mkdir -p /usr/src/asterisk
cd /usr/src/asterisk
wget downloads.asterisk.org/pub/telep … ent.tar.gz
wget downloads.asterisk.org/pub/telep … ent.tar.gz
wget downloads.asterisk.org/pub/telep … ent.tar.gz
wget soft-switch.org/downloads/spands … -0.0.5.tgz
wget downloads.digium.com/pub/libpri/ … ent.tar.gz
tar -zxf dahdi-linux-complete-current.tar.gz
tar -zxf asterisk-1.6.2-current.tar.gz
tar -zxf spandsp-0.0.5.tgz
tar -zxf libpri-1.4-current.tar.gz
tar -zxf asterisk-addons-1.6.2-current.tar.gz
SpanDSP (optional)
cd /usr/src/asterisk/spandsp-0.0.5
make clean
./configure
make
make install
cat > /etc/ld.so.conf.d/spandsp.conf << EOF
/usr/local
/usr/local/lib
EOF
ldconfig -v
Libpri
cd /usr/src/asterisk/libpri-VERSION
make clean
make
make install
DAHDI
cd /usr/src/asterisk/dahdi-linux-complete-VERSION
make all
make install
make config
chkconfig dahdi on
service dahdi start
Asterisk
cd /usr/src/asterisk/asterisk-VERSION
make clean
./configure
And here my problem :
make menuselect
system response :
[root@localhost asterisk-1.6.2.14]# make menuselect
make: -F. : commande introuvable
/bin/sh: - : invalid option
Usage: /bin/sh [GNU long option] [option] …
/bin/sh [GNU long option] [option] script-file …
GNU long options:
–debug
–debugger
–dump-po-strings
–dump-strings
–help
–init-file
–login
–noediting
–noprofile
–norc
–posix
–protected
–rcfile
–rpm-requires
–restricted
–verbose
–version
–wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.
make: *** [makeopts] Erreur 1
[root@localhost asterisk-1.6.2.14]#
Someone to help me ?