digitalfreedom Posted November 30, 2006 Report Share Posted November 30, 2006 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] Quote Link to comment Share on other sites More sharing options...
dexter11 Posted November 30, 2006 Report Share Posted November 30, 2006 You need a compiler to compile a program even a compiler needs to be compiled usually with the previous version. To solve your problem you need to install gcc from the software repos (install it with the software installer utility). Quote Link to comment Share on other sites More sharing options...
tyme Posted November 30, 2006 Report Share Posted November 30, 2006 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. Quote Link to comment Share on other sites More sharing options...
digitalfreedom Posted November 30, 2006 Author Report Share Posted November 30, 2006 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. Quote Link to comment Share on other sites More sharing options...
jofg Posted December 1, 2006 Report Share Posted December 1, 2006 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. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted December 1, 2006 Report Share Posted December 1, 2006 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!!!!! Quote Link to comment Share on other sites More sharing options...
dexter11 Posted December 1, 2006 Report Share Posted December 1, 2006 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. Quote Link to comment Share on other sites More sharing options...
tyme Posted December 1, 2006 Report Share Posted December 1, 2006 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: Quote Link to comment Share on other sites More sharing options...
dexter11 Posted December 1, 2006 Report Share Posted December 1, 2006 There's a reason LFS exists. Quote Link to comment Share on other sites More sharing options...
tyme Posted December 1, 2006 Report Share Posted December 1, 2006 There's a reason LFS exists.Yeah, for crazy people :P Quote Link to comment Share on other sites More sharing options...
shengchieh Posted December 2, 2006 Report Share Posted December 2, 2006 It's a catch-22 situation to install gcc. You need a C compiler to compile gcc. The easiest approach is to install gcc from your installation disk or use urpmi. Otherw2ise grab the binary from of gcc, i.e., http://gcc.gnu.org/ -> Releases -> Binaries Sheng-Chieh Quote Link to comment Share on other sites More sharing options...
iphitus Posted December 2, 2006 Report Share Posted December 2, 2006 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.