Jump to content

Need C++ C compiler, I think


Recommended Posts

During an install i got this error.Imtrying to install GCC.How can i fix this?

 

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details.

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

digitalfreedom: stop trying to compiling everything :P use the software installer to get precompiled software, it's much easier and much better then trying to compile everything yourself ;)

 

Mandriva Control Center -> Software -> Install Software

 

Also, use the easy-urpmi link at the top of the page to add more repo's and get more software.

Link to comment
Share on other sites

when i try and install gcc i get this error

 

[root@localhost gcc-4.0.2]# ./configure

loading cache ./config.cache

checking host system type... i686-pc-linux-gnuoldld

checking target system type... i686-pc-linux-gnuoldld

checking build system type... i686-pc-linux-gnuoldld

checking for a BSD compatible install... /usr/bin/install -c

checking whether ln works... yes

checking whether ln -s works... yes

configure: error: Building in the source directory is not supported in this release. See http://gcc.gnu.org/install/configure.html for more details.

Link to comment
Share on other sites

What about Sun Studio 11?

 

Also, Intel had V 9.0 for free.

All that was needed was a free registration code.

But when I tried to install, it just looped me through the readme file.

Since then, they released 9.1 for a fee and I can't find 9.0 install support anymore.

Link to comment
Share on other sites

Why are you trying to download and compile gcc? Did you not read what tyme said? Do:

 

urpmi gcc

 

far easier. Wait until your used to Linux before you start compiling things. Mandriva has over 15,000 packages! Use easyurpmi link from the top of this page. I'm an experienced Linux user, and I very rarely compile anything!!!!!

Link to comment
Share on other sites

when i try and install gcc i get this error

 

[root@localhost gcc-4.0.2]# ./configure

loading cache ./config.cache

checking host system type... i686-pc-linux-gnuoldld

checking target system type... i686-pc-linux-gnuoldld

checking build system type... i686-pc-linux-gnuoldld

checking for a BSD compatible install... /usr/bin/install -c

checking whether ln works... yes

checking whether ln -s works... yes

configure: error: Building in the source directory is not supported in this release. See http://gcc.gnu.org/install/configure.html for more details.

Read the error message then click on the link and read that too.

Link to comment
Share on other sites

Why are you trying to download and compile gcc? Did you not read what tyme said? Do:

 

urpmi gcc

 

far easier. Wait until your used to Linux before you start compiling things. Mandriva has over 15,000 packages! Use easyurpmi link from the top of this page. I'm an experienced Linux user, and I very rarely compile anything!!!!!

I don't think he's listening to us :unsure:

 

maybe he just likes the frustration of compiling programs yourself on a distro that doesn't come with devel tools by default :lol:

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...