LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-07-2009, 04:47 PM   #1
momi
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
please help


I am new to linux so please help...when I do ./configure I get this:
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: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Please help
 
Old 06-07-2009, 04:50 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 69
Well, you need to install a compiler.
It would be helpful to know what distribution you're using, then people could tell you how to do that.
 
Old 06-07-2009, 05:09 PM   #3
unixmen
Member
 
Registered: Jan 2009
Posts: 39

Rep: Reputation: 16
Quote:
Originally Posted by Uncle_Theodore View Post
Well, you need to install a compiler.
It would be helpful to know what distribution you're using, then people could tell you how to do that.
if you are under ubuntu or debian
apt-get install gcc-c++


if you are under fedora/redhat/centos

yum install gcc-c++
 
Old 06-07-2009, 05:28 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,764
Blog Entries: 27

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Hi,

Welcome to LQ!

In the future please provide a subject line/topic that is more descriptive.
 
Old 06-08-2009, 02:07 AM   #5
momi
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you all for replies,

I am using Ubuntu 9.04...Well i try this thing with apt-get but it said that gcc is already installed and that it is the newest version...

Forgive me about lazy post...I was so nervous...the thing i want to install is asterisk 1.6

Please hlep

Thanks in advance

momi
 
Old 06-08-2009, 02:10 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
If you are using Ubuntu then you will need to install essential packages that would be needed for compilation.

sudo apt-get install build-essential will install them.
 
Old 06-08-2009, 07:02 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,764
Blog Entries: 27

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Hi,
Quote:
Originally Posted by momi View Post
Thank you all for replies,

I am using Ubuntu 9.04...Well i try this thing with apt-get but it said that gcc is already installed and that it is the newest version...

Forgive me about lazy post...I was so nervous...the thing i want to install is asterisk 1.6

Please hlep

Thanks in advance

momi
Don't be nervous, we really don't bite that hard.

linuxlover.chaitanya gave you the solution to your problem.

BTW, the search engine here on LQ is fabulous. Plus look at the next few posts for some helpful information.
 
Old 06-09-2009, 01:33 AM   #8
momi
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you for your help...problem solved...but my PC wasn't on the net so I copy packages for the original CD...and I have another problem...with configuring same software (asterisk 1.6) I got this error message:

configure: error: *** termcap support not found

????

Thank you

momi
 
Old 06-09-2009, 03:10 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Try installing the libncurses5-dev package.
cheers,
jdk
 
Old 06-10-2009, 01:28 AM   #10
momi
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks jdkaye...your post help me...

momi
 
Old 06-10-2009, 03:21 AM   #11
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by momi View Post
Thanks jdkaye...your post help me...

momi
Glad to be of service
jdk
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 AM.

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