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

USE URPMI

 

 

urpmi gcc

 

easy!! problem solved. You don't need to compile things on Mandriva. Go and use gentoo if you want to compile everything. Mandriva has packages that are already compiled! they save you the time and effort, use them.

 

James

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...