I have set up asterisk 1.4.0 base on helpdocument.But it have warns!
Exsample:
[root@localhost ~]# cd /usr/lanh/libpri-1.4.0
[root@localhost libpri-1.4.0]# make clean;make install
rm -f *.o *.so *.lo *.so.1 *.so.1.0
rm -f testprilib libpri.a libpri.so.1.0
rm -f pritest pridump
rm -f .depend
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o copy_string.o copy_string.c
make: gcc: Command not found
make: *** [copy_string.o] Error 127
[root@localhost libpri-1.4.0]# make all;make install
CC=gcc ./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g ls *.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o copy_string.o copy_string.c
make: gcc: Command not found
make: *** [copy_string.o] Error 127
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o copy_string.o copy_string.c
make: gcc: Command not found
make: *** [copy_string.o] Error 127
[root@localhost libpri-1.4.0]#
[root@localhost libpri-1.4.0]# cd /usr/lanh/zaptel1.4.1
bash: cd: /usr/lanh/zaptel1.4.1: No such file or directory
[root@localhost libpri-1.4.0]# cd usr/lanh/zaptel-1.4.1
bash: cd: usr/lanh/zaptel-1.4.1: No such file or directory
[root@localhost libpri-1.4.0]# cd
[root@localhost ~]# cd /usr/lanh/zaptel-1.4.1
[root@localhost zaptel-1.4.1]# make all;make install
grep: /lib/modules/2.6.18-1.2798.fc6/build/include/linux/autoconf.h: No such file or directory
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: no acceptable C compiler found in $PATH
See config.log' for more details. make: *** [config.status] Error 1 grep: /lib/modules/2.6.18-1.2798.fc6/build/include/linux/autoconf.h: No such file or directory checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See
config.log’ for more details.
make: *** [config.status] Error 1
[root@localhost zaptel-1.4.1]# cd
[root@localhost ~]# cd /usr/lanh/asterisk1.4.2
bash: cd: /usr/lanh/asterisk1.4.2: No such file or directory
[root@localhost ~]# cd /usr/lanh/asterisk-1.4.2
[root@localhost asterisk-1.4.2]# make all;make install
**** The configure script must be executed before running ‘make’.
make: *** [makeopts] Error 1
**** The configure script must be executed before running ‘make’.
make: *** [makeopts] Error 1
[root@localhost asterisk-1.4.2]# ./configure;make all;make install
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
**** The configure script must be executed before running ‘make’.
make: *** [makeopts] Error 1
**** The configure script must be executed before running ‘make’.
make: *** [makeopts] Error 1
[root@localhost asterisk-1.4.2]# d
Now!i can’t known reason!plesea,help me! :roll: :roll: :roll: :?: