Results 1 to 5 of 5

Thread: gcc3 error.. hep please

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    7

    gcc3 error.. hep please

    checking whether the C++ compiler (c++ ) works... no
    configure: error: installation or configuration problem: C++ compiler cannot create executables.


    run level problem? I'm just dum Dee ewe emm dumb. Anyone have a fix for me?

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    183
    assuming you installed everything else, you missed installing the g++ front end to gcc.


    package name gcc3-c++-3.0.1-3.rpm if you are using redhat.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    2
    No, this happens on RH7.2 systems because for some reason the configure script calls c++ instead of g++. On a default install of a RH7.2 the c++ binary isn't a symlink to g++, you have to manually switch it to point to g++3 and you won't get this problem anymore.

    -seqhobbit

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    183
    I didn't have that problem, or maybe i did. But what was happening was that g++ didn't exist so it was trying c++ so I made a link from g++ to g++3 (ditto for gcc to gcc3). Well thats how it worked on my RH 7.2 install anyway (which was pretty minimal).

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    951
    another way (perhaps easier, and less destructive to your system) is to just "export CC=gcc3 ; export CXX=g++3" before you compile. this way you still can use your old version of gcc and g++ (which at some point you WILL need).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On