LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-21-2005, 04:48 PM   #1
hyssing_
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Rep: Reputation: 0
problems with the ./configure part, installing gcc-3.4.4


i am trying to install gcc 3.4.4
I am running mandrake 10.1

[root@localhost gcc-3.4.4]# ./configure
creating 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
./configure: line 2339: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler


what do i do?
 
Old 08-21-2005, 05:14 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
A couple suggestions:

1) You should, as a general rule, not be running as "root." Put yourself in the "sudoers" file and (when you get to the "make install" step) use sudo make install.

2) As the error message said, you need to have a working compiler before you can compile anything, even your compiler.

So, how can you get a working compiler? The simplest way is to use the "update" tools that come with your distribution, for example, apt, rpm, etc. to install a compiler. (I don't use Mandrake, so I can't be specific. Ask in the Mandrake/Mandiva forum here if you need more help.)
 
Old 08-21-2005, 05:22 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
and gotta ask why you want to compile gcc in the first place? are you aware that there is no need to do this at all? gcc is already on your distro cd's as an rpm.
 
  


Reply


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
problems on installing gcc cn_gelare Linux - Newbie 5 07-14-2006 03:50 PM
Problems with ./configure and gcc tur third Linux - Software 3 08-04-2005 04:11 AM
Is gcc part of Ubuntu warty(live cd) release hari_s_82 Ubuntu 6 04-03-2005 10:54 PM
Problems with installing GCC TransAmJugo Linux - General 1 07-31-2003 11:43 PM
Problems with installing GCC TransAmJugo Linux - Newbie 2 07-31-2003 03:37 PM


All times are GMT -5. The time now is 10:22 AM.

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