Jump to content

gcc >_< - SOLVED


Recommended Posts

ok. i downloaded gcc 3.4.2 and i try to install it and i get the error:

 

[root@localhost gcc-3.4.2]# ./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

./configure: line 2332: cc: command not found

*** The command 'cc -o conftest -g conftest.c' failed.

*** You must set the environment variable CC to a working compiler.

 

:furious3::furious3::furious3::furious3::furious3::furious3::furious3::furious3::wall:

 

what should I do!! also i looked in the /usr/lib/gcc folder and it has 3.4.1 but theres only one file in there: cc1 and when i try to open that (tried with su) nothing happens. im super frustrated, someone help

 

 

*edit* ah i did "urpmi gcc" as root and it installed into that gcc 3.4.1 folder i was talking about, so i think it should be all good now...

Edited by Jas
Link to comment
Share on other sites

  • 2 weeks later...

Hi guys, I just use this thread since I have the same message when I try to configure gcc.

Here's the situation: I have just installed mandrake 10.1 from the CD 1, and ignored the CD 2 and 3

I wanted to install amsn, which I learned required the installation of tcl/tk.

I downloaded tcl/tk, then found I needed a C compiler to use it. :wall:

So I downloaded gcc (3.3.2), but right now I don't exactly know what I'm supposed to do with the files... The message tells me tu use a C compiler to install gcc, but that was the whole point of installing gcc in the first place!!! :o

PS: In case you haven't noticed, I'm a total newbie... :help:

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