LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing Asterisk on Fedora 10 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-asterisk-on-fedora-10-a-751032/)

pcsandmore 08-29-2009 03:36 AM

Installing Asterisk on Fedora 10
 
Hi guys!

i have been trying to install Asterisk on Fedora 10 and get an error on a C Compiler.. I have tried installing these C compilers thru yumex.

After installing the compilers..

this is what i get running ./configure

please help..



[shane@server asterisk-1.4.26.1]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for uname... /bin/uname
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/home/shane/asterisk-1.4.26.1':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[shane@server asterisk-1.4.26.1]$

knudfl 08-29-2009 08:02 AM

Why not install asterisk-1.6.0.1 with 'yum' or the
package manager : "Add / Remove Software" ? ?
1) su , password
2) yum install asterisk*
... the star ( * ) takes care, that all 30 packages are installed.

You are trying to compile an older version.
If you really want to do that, the c++ compiler is needed :
# yum install gcc-c++
.....

But it is not recommended to build it yourself, the yum method
will result in a much more consistent system.
.....

pcsandmore 08-31-2009 01:21 AM

thanks..

will try to do that...


All times are GMT -5. The time now is 07:24 PM.