Compilar Asterisk Centos 6.3/6.5

Já fiz este processo no centos 6.3, e ocorreu tudo cento, porem estou precisando instalar outro servidor e estou encontrando o seguinte problema.

I installed centos 6.3 and did a update to version 6.5. I’m following the installation site

http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+2.11+on+Centos+6.3

after rum ./configure

checking for speex_preprocess_ctl in -lspeexdsp… no
checking for sqlite_exec in -lsqlite… no
checking for sqlite3_open in -lsqlite3… no
configure: WARNING: *** Asterisk now uses SQLite3 for the internal Asterisk database.
configure: WARNING: *** Please install the SQLite3 development package.

make menuselect

make: -F.: Comando não encontrado
/bin/sh: - : invalid option
Utilização: /bin/sh [opção-longa-GNU] [opção] …
/bin/sh [opção-longa-GNU] [opção] arquivo-de-script …
opções-longas-GNU:
–debug
–debugger
–dump-po-strings
–dump-strings
–help
–init-file
–login
–noediting
etc…
etc…

make: *** Sem regra para processar o alvo makeopts', necessário pormenuselect/makeopts’. Pare.
[root@ns0 asterisk-11.10.0]# vim t
[root@ns0 asterisk-11.10.0]# make menuselect 2> t


**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.

Has anyone gone through this problem?

When ./configure stops with an error and says “Please install the SQLite3 development package,” you should fix that before moving to the next step. yum install sqlite3-devel or similar.