LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2009, 04:36 AM   #1
pcsandmore
LQ Newbie
 
Registered: Aug 2009
Location: Bacolod City, Philippines
Posts: 4

Rep: Reputation: 0
Question 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]$
 
Old 08-29-2009, 09:02 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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.
.....
 
Old 08-31-2009, 02:21 AM   #3
pcsandmore
LQ Newbie
 
Registered: Aug 2009
Location: Bacolod City, Philippines
Posts: 4

Original Poster
Rep: Reputation: 0
thanks..

will try to do that...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing The Asterisk PBX And The Asterisk Web-Based Provisioning GUI On Linu LXer Syndicated Linux News 0 09-25-2007 03:50 PM
Problem installing Asterisk rsatapathy Linux - Software 5 04-16-2007 12:23 PM
Installing Asterisk 1.2.3 procfs Linux - Software 3 02-10-2006 08:57 AM
How do I install Asterisk on Fedora Core 2 babusha Linux - Software 0 02-08-2005 03:36 AM


All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration