LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-26-2003, 09:20 AM   #1
sparrot
LQ Newbie
 
Registered: Nov 2002
Posts: 27

Rep: Reputation: 15
Question cc....gcc....install???


Have a number of files to install...in xxxx.1.2.3.tar.gz.

Have figured gunzip, tar.
End up with dir.+files, but cannot seem to "make".
./configure usually ends with no cc or gcc found.

I believe that cc binarifies a file??
How can i have an operating system without it?
Where would it be?
There are no development tools on my distribution....
 
Old 03-26-2003, 09:28 AM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
cc and gcc are C compilers. They're what's used to create the executable stuff (in binary) for a particular machine architecture (386, Pentium, etc.) You will need gcc if you want to install any software that is distributed in source code form (since you will be compiling it yourself, using make, etc.)

What distribution do you have? Most major Linux distros come with gcc, and all the related stuff you need to do compilation.
 
Old 03-27-2003, 05:13 AM   #3
sparrot
LQ Newbie
 
Registered: Nov 2002
Posts: 27

Original Poster
Rep: Reputation: 15
Mandrake 8.0
Nothing in my development options... one disk ...not all there, me suspects!!
where could i get it on the web??
 
Old 03-27-2003, 04:10 PM   #4
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
http://rpmfind.net/
 
Old 03-27-2003, 05:03 PM   #5
asharma
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Rep: Reputation: 0
It is in the following path:

xyz/SUNWspro/bin/cc

u need to have it installed i guess.
 
Old 03-27-2003, 11:14 PM   #6
sparrot
LQ Newbie
 
Registered: Nov 2002
Posts: 27

Original Poster
Rep: Reputation: 15
OK...Looked at the site....i need both cc and gcc, are they distribution specific?? do they come together? not quite sure on this....same as development compilers??
 
Old 03-28-2003, 12:49 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
gcc is simply symlinked to cc (or vice versa depending on how you read that, anyway cc is nothing but a link, gcc is the actual compiler...)

As for where you can get files, check out mirrors:
http://www.gr.kernel.org/pub/mirrors...drake-old/8.0/
http://www.google.com/search?q=mandrake-old+mirrors
http://mirror3.cs.wisc.edu/pub/mirro...i586/Mandrake/
http://mirror3.cs.wisc.edu/pub/mirro...48mdk.i586.rpm

Anyway, I think you get the picture...

So fire up rpmdrake, add your favorite mirror containing files from the RPMS directory (or whatever tool you wish to use, I suggest using Software Manager in the Mandrake Control Center though..)
And in the search area type:
gcc
select all the packages and click "install"

From there it will go through, download all the necessary applications (there will be A LOT) and install them. If you are on dial up, go to sleep.

When you wake up, hopefully there were no time-outs and it finished successfully and now you've got gcc installed.

Cool
 
Old 03-28-2003, 03:34 AM   #8
sparrot
LQ Newbie
 
Registered: Nov 2002
Posts: 27

Original Poster
Rep: Reputation: 15
ok....think i got the right file....
gcc2.95-2.95.3-1mdk.src.rpm
thought i check first.
this correct??
then install with software manager?
 
Old 03-28-2003, 09:19 AM   #9
Gordon
Member
 
Registered: Mar 2003
Location: sweden, norrkoping
Distribution: slackware 9.0,windows XP
Posts: 53

Rep: Reputation: 15
r peple still using dial up ??
 
Old 03-31-2003, 07:17 AM   #10
sparrot
LQ Newbie
 
Registered: Nov 2002
Posts: 27

Original Poster
Rep: Reputation: 15
I got files from the sites....downloaded some files...
used urpmi to unpack, connected to web and downloaded some files...
./configure gets further now, but ends not finding glib.
From what i can gather, this is core c lib that a box needs to run?? is it possible i have it in a different name?
also, now i cannot use urpmi, get an error in line 811.

Have i confused my box to much?
 
Old 03-31-2003, 09:38 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
You may have, but try finding the binary urpmi at your favorite mirror, download it and install with:
rpm -ivh urpmi*.rpm

Then try using it again:
urpmi glibc

Cool
 
  


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
cant install gcc nikoz Linux - Software 4 12-02-2004 02:23 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM
how to install gcc big_bailey Linux - Software 3 07-23-2004 01:47 AM
Install GCC BizHat.com Linux - Software 10 07-19-2004 05:26 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 11:20 PM


All times are GMT -5. The time now is 07:02 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