Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th November 2006, 06:57 PM
xluryan Offline
Registered User
 
Join Date: Nov 2006
Posts: 3
installing gcc without any cc

hey, i just installed FC6 and didn't include any dev kits or compilers or anything. now i'm trying to install gcc. can i do that without having any previous compilers installed?
Reply With Quote
  #2  
Old 29th November 2006, 07:09 PM
wesamel's Avatar
wesamel Offline
Registered User
 
Join Date: Nov 2006
Location: Ann Arbor, MI
Age: 25
Posts: 115
Just do "yum install gcc" in the terminal. It should tell you if there are any dependencies.
Reply With Quote
  #3  
Old 29th November 2006, 07:25 PM
xluryan Offline
Registered User
 
Join Date: Nov 2006
Posts: 3
Quote:
Originally Posted by wesamel
Just do "yum install gcc" in the terminal. It should tell you if there are any dependencies.
the thing is, i don't have an internet connection right now. i've downloaded the gcc tarball. what can i do from there?
Reply With Quote
  #4  
Old 29th November 2006, 07:39 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Hello:
You would probably be better off trying to install the rpm(s) from the installation disc(s).
There is a how-to create a yum repo here for both a DVD and or CD's
http://www.city-fan.org/tips/YumRepoFromImages

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #5  
Old 29th November 2006, 07:44 PM
xluryan Offline
Registered User
 
Join Date: Nov 2006
Posts: 3
ha, also... i don't have the install DVD/CD. all i have is the gcc tarball. my friends laptop has the internet, so if i have to download something and transfer it over on flash drive, that's a possibility. but i'm pretty limited as to what i've got to work with.
Reply With Quote
  #6  
Old 29th November 2006, 08:06 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
Well then here you go http://gcc.gnu.org/install/prerequisites.html you better get to downloading, good luck.

Oh yeah don't forget to check what dependencies the dependencies have and what those and etc,etc.
Reply With Quote
  #7  
Old 29th November 2006, 11:54 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
The gcc tarball is completly useless. Download the gcc RPM files from the Fedora distribution, you need at least binutils, libgcc, libgomp, gcc and glibc-devel.
Reply With Quote
  #8  
Old 1st January 2007, 03:41 AM
ihavenoname Offline
Registered User
 
Join Date: Dec 2005
Posts: 527
here's the yum deplist output for gcc. But it is possible that there are other dep's not listed because they are needed for one of the packages that gcc depends on, in that case just tell us which one and we will help you. But I think that you should download the dvd or cds and burn them and setup a local repo.rather than having to put up with "dep-hell"

Code:
yum deplist gcc
Loading "installonlyn" plugin
Finding dependencies:
Setting up repositories
Reading repository metadata in from local files
package: gcc.i386 4.1.1-30
  dependency: libc.so.6(GLIBC_2.3)
   provider: glibc.i686 2.5-3
   provider: glibc.i386 2.5-3
  dependency: libgcc >= 4.1.1-30
   provider: libgcc.i386 4.1.1-30
  dependency: binutils >= 2.17.50.0.2-8
   provider: binutils.i386 2.17.50.0.3-6
  dependency: libgcc_s.so.1
   provider: libgcc.i386 4.1.1-30
  dependency: libgomp.so.1
   provider: libgomp.i386 4.1.1-30
  dependency: /sbin/install-info
   provider: info.i386 4.8-11.1
   provider: info.i386 4.8-14.fc6
  dependency: libc.so.6
   provider: glibc.i686 2.5-3
   provider: glibc.i386 2.5-3
  dependency: glibc-devel >= 2.2.90-12
   provider: glibc-devel.i386 2.5-3
  dependency: libc.so.6(GLIBC_2.0)
   provider: glibc.i686 2.5-3
   provider: glibc.i386 2.5-3
  dependency: libc.so.6(GLIBC_2.4)
   provider: glibc.i686 2.5-3
   provider: glibc.i386 2.5-3
  dependency: cpp = 4.1.1-30
   provider: cpp.i386 4.1.1-30
  dependency: rtld(GNU_HASH)
   provider: glibc.i686 2.5-3
   provider: glibc.i386 2.5-3
  dependency: libc.so.6(GLIBC_2.1)
   provider: glibc.i686 2.5-3
   provider: glibc.i386 2.5-3
  dependency: /bin/sh
   provider: bash.i386 3.1-16.1
  dependency: libc.so.6(GLIBC_2.2)
   provider: glibc.i686 2.5-3
   provider: glibc.i386 2.5-3
  dependency: libgomp = 4.1.1-30
   provider: libgomp.i386 4.1.1-30
Reply With Quote
Reply

Tags
gcc, installing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help installing Installing nVidia Drivers and 32bit OpenGL Jeff91 Installation and Live Media 3 25th August 2009 12:25 AM
Installing yum package (installing gcc...) jjnerd Using Fedora 3 3rd June 2009 07:12 PM
Need help installing downloaded programs? installing Mednafen Nnylad Using Fedora 11 28th October 2008 05:49 AM
Problem installing updates after installing MySQL 4.1.11 garthbrown Using Fedora 4 26th May 2005 06:49 AM


Current GMT-time: 11:16 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat