Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-09-2006, 09:58 PM   #1
Registered: Nov 2004
Distribution: SuSE 9.1 Personal
Posts: 41

Rep: Reputation: 15
gcc ./configure error!! HELP


I was just trying to install gcc on my SuSE 9.2 laptop.. But I always get this error message:

Nectron@linux:~/Documents/Programs/gcc-4.0.1> ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
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.

If you know the solution to this, please tell me what command and options to write, since I'm really confused by now..
Old 04-09-2006, 10:24 PM   #2
Registered: Oct 2005
Distribution: Kubuntu Edgy
Posts: 98

Rep: Reputation: 15
The documentation included with gcc will tell you what the solution is. As of gcc 4, you must build gcc in a seperate directory. Basically all you have to do is make a seperate directory next to the gcc-4.0.1 directory, "cd" into the new directory, then "./../gcc-4.0.1/configure" and then whatever configure options you want. Then it's basically the same aftewards, "make bootstrap" "make" "sudo make install."


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error ./Configure GCC 3.4.4 D1G1T477 Linux - General 1 06-21-2005 10:29 AM
Problem with gcc: configure: error: C compiler cannot create executable abefroman SUSE / openSUSE 4 05-11-2005 06:12 PM
mplayer ./configure gcc error U-Toast Linux - Software 21 08-28-2004 05:06 PM
gcc-3.3.3 compling(configure-target-libiberty error 1) windus Linux - Software 0 04-18-2004 12:38 PM
gcc configure error rl5 Linux From Scratch 2 03-31-2004 09:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration