LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2006, 09:33 AM   #1
MadAboutLinux
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Question Problem installing gcc-4.0.2.tar.bz2


hi everyone
i m a complete newbie to linux and have a problem with a tarball i got from the net.

with fedora core 4 on my machine, i m wondering how to get my gcc-4.0.2.tar.bz2 working on my machine. i basically want to work on C and C++ development...the readme stuff i saw is no good...too lengthy and cryptic..
can someone please help me with this...
 
Old 04-02-2006, 11:40 AM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Since you don't have ane older version of gcc to compile the source you just downloaded, I would suggest downloading the rpm from fedoracore and install it that way. try:

http://mirror.web-ster.com/fedora/co....0.0-8.src.rpm

Or your fedora core mirror of choice.

then

Code:
rpmbuild --rebuild gcc-4.0.0-8.src.rpm
This will taylor the rpm to the kernel version you are using. (kernel source required) I belive it puts the new rpm in the /usr/src/redhat/RPMS directory. You will then need to install the rpm you just made.

Code:
rpm -Uvh gcc-4.0.0-8.rpm


regards,
...drkstr

Last edited by drkstr; 04-02-2006 at 12:45 PM.
 
  


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
installing tar.bz2 files M O L8ingN2dust Mandriva 2 03-26-2005 03:46 AM
problem installing tar.bz2 file madskillz Linux - Games 3 06-11-2004 03:58 AM
installing a tar.bz2 zexter Linux - Software 3 11-02-2003 12:39 PM
problem installing mplayer-0.91.tar.bz2 ram13apr Linux - General 7 10-19-2003 06:17 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 PM.

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
Open Source Consulting | Domain Registration