[ale] Oddness from gcc and configure

Beeland, Jason beeland.j at ems-t.com
Wed Aug 23 13:41:17 EDT 2000


So true, so true.
I indeed do not have g++ installed apparently.  Where would
i find g++?  I just looked all over mandrake.com, linux.org,
freshmeat.net, and rpmfind.com.  And I just can't seem to
find it.  (although most likely it's just because I'm not
looking correctly, sorry to be such a newbie :P )

By the way, I was floored by the number of responces that
post got.  Thank you all for your help, hopefully I'll
get my head screwed on straight someday.  :P

-Jason Beeland

-----Original Message-----
From: Mike Kachline [mailto:kachline at medept17.coon.gatech.edu]
To: ale at ale.org
Sent: Wednesday, August 23, 2000 12:27 PM
To: Beeland, Jason
Cc: 'ale at ale.org'
Subject: Re: [ale] Oddness from gcc and configure


On Wed, 23 Aug 2000, Beeland, Jason wrote:

> Just got one really strange error from a configure...
> 
> 
> creating cache ./config.cache
> checking for c++... no
> checking for g++... no
> checking for gcc... gcc
> checking whether the C++ compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C++ compiler
cannot
> create executables.
> 
> Anyone know what could be making gcc not able to make executables?
<snip>
	I've seen this one before. I think it's related to the compiler
not being able to link into std libraries. Take a look at the
"config.log" which was created, and you'll get more information pointing
to why the compiler didn't work.

	From the output which you posted, it looks a lot like configure
tried to find a C++ compiler, couldn't, and then as a last ditch attempt,
tried using gcc (usually just a C compiler) to compile a C++ program. gcc
probably couldn't find all of the c++ standard libraries and stopped
(hence, offering the "cannot create executables" error.). Thus, my first
question to you would be "do you have a C++ compiler installed?" Usually,
"g++" is used for building C++ apps.


				- Mike
======================================
Michael Kachline 
mailto:kachline at brightstar.gt.ed.net
http://brightstar.gt.ed.net/kachline
======================================

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list