Jump to content

C++ compiler cannot create executables


IceStorm
 Share

Recommended Posts

I've searched hi and low but haven't found any help. Hopefully someone here can lead me to the righteous path of enlightenment.

I'm trying to install some drivers, the INSTALL says to "do the usual make/make install/ configure'. Well when I try any of them I get errors and can go no further.

$ make

./configure

loading cache ./config.cache

checking for ranlib... ranlib

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.

 

I get this same type of error when I try to install other items too. I've read that people say you need to install the rpm, etc. Ok fine, how? Where? I even read that I need to find out what rpm's I have installed. Fine, how? lol I tried running urpmi at the console and it says 'command no found' so I'm obviously not doing it right.

:wall:

Please help this rookie. I'm not asking for a fish, I'm asking to be taught how to fish. Thank you very much.

 

Here is a copy of the config.log file it made.

configure:537: checking for ranlib

configure:648: checking for gcc

configure:761: checking whether the C compiler (gcc  ) works

configure:777: gcc -o conftest    conftest.c  1>&5

configure:803: checking whether the C compiler (gcc  ) is a cross-compiler

configure:808: checking whether we are using GNU C

configure:817: gcc -E conftest.c

configure:836: checking whether gcc accepts -g

configure:872: checking for c++

configure:872: checking for g++

configure:872: checking for gcc

configure:904: checking whether the C++ compiler (gcc  ) works

configure:920: gcc -o conftest    conftest.C  1>&5

gcc: installation problem, cannot exec `cc1plus': No such file or directory

configure: failed program was:

 

#line 915 "configure"

#include "confdefs.h"

 

int main(){return(0);}

Link to comment
Share on other sites

Mandrake Control Center -> Software -> Install Software

 

(Mandrake Control Center should be in your menu)

 

search for "gcc" and you might also need "makeconf"

 

install those packages. not the ones that end with -devel, however...you don't need those (at this point anyways).

Edited by tyme
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...