Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-01-2005, 09:26 PM   #1
LQ Newbie
Registered: Jul 2003
Distribution: Mandrake 10.1
Posts: 5

Rep: Reputation: 0
./configure fails because gcc can't create executables?

About in January, I installed Mandrake 10.1 community, and because I'm inexperienced I haven't put any additional programs on it or made changes to the default setup. Today I tried to compile the Tux Racer source code and it failed. I thought g++ was part of gcc and was included in all standard Linux distributions. Is the problem indeed that I'm missing g++? Is it some permissions thing? Any help would be appreciated. It seems simple, but I don't know where to start.


[keldath@localhost tuxracer-0.61]$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
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.
Old 03-01-2005, 09:31 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
It looks like you need the C++ development tools, not just C. I personally thought they usually came together, but it looks like it's not the case here. Usually g++ is what you need.
Old 03-01-2005, 09:42 PM   #3
LQ Newbie
Registered: Jul 2003
Distribution: Mandrake 10.1
Posts: 5

Original Poster
Rep: Reputation: 0
Apologies if this is a silly question, but where can I get just g++ by itself?
Old 03-01-2005, 11:07 PM   #4
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Install the g++ RPM that came with RH9.


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
configure: error: C++ compiler cannot create executables dicou Linux - Newbie 19 06-22-2017 04:17 PM
configure: error: C compiler cannot create executables watashiwaotaku7 Linux - General 7 10-22-2009 09:40 AM
error: "c compiler cannot create executables" when trying to run ./configure fedoraemu Linux - Software 2 04-24-2007 07:43 PM
configure: error: C compiler cannot create executables strimp099 Linux - Software 2 07-11-2005 07:23 PM
Problem with gcc: configure: error: C compiler cannot create executable abefroman SUSE / openSUSE 4 05-11-2005 06:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:39 PM.

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