LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-23-2005, 04:11 PM   #1
Coookie Monster
LQ Newbie
 
Registered: Jun 2005
Location: Glasgow, Scotland
Distribution: Mandriva 10.2 x86_64, Fedora Core 4 x86_64
Posts: 28

Rep: Reputation: 15
Question Installing GCC Binaries


Hi,

Serious problems getting a compiler for installing my stuff i.e. modem (already have a thread here) and MPlayer. Well basically everything.

I've been reading a few sites about GCC and I believe since I don't already have a compiler installed on my box, I need to install the new one from the binaries.

OK, so now the problem: I have no idea where to start and/or which binaries to use.

Is there a tutorial for beginners?

I've searched all over and can't find anything that doesn't expect some level of previous experience.

Any help would be greatly appreciated.
 
Old 07-23-2005, 04:22 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,060

Rep: Reputation: 295Reputation: 295Reputation: 295
Look on your installation CDs, and there should be a gcc package. Since you're using Mandrake, it will be in RPM format, and you can install it with rpm -ivh <path to RPM>. There should also be something in the Mandrake control center that will help you with this, but I don't use Mandrake, so I'm not sure.
 
Old 07-23-2005, 05:28 PM   #3
Coookie Monster
LQ Newbie
 
Registered: Jun 2005
Location: Glasgow, Scotland
Distribution: Mandriva 10.2 x86_64, Fedora Core 4 x86_64
Posts: 28

Original Poster
Rep: Reputation: 15
Hi btmiller,

I've looked on my distro cd with no success and tried urpmi gcc but I only get gcc-cpp and libgcc1 and matching entries. Both are already installed and MCC also draws a blank.

I've downloaded gcc-3.4.4 binaries from here, so I'm going to give that a try over the next few weeks, when I have more time to study.

The file I have downloaded has what I believe to be the full instructions, but my main problem is trying to make sense of them.

I'll give it a go over the next few weeks as and when I have time and post how I get on. Unless, someone suggests a quick stop solution before then.

Thanks
 
Old 07-23-2005, 06:10 PM   #4
Coookie Monster
LQ Newbie
 
Registered: Jun 2005
Location: Glasgow, Scotland
Distribution: Mandriva 10.2 x86_64, Fedora Core 4 x86_64
Posts: 28

Original Poster
Rep: Reputation: 15
Before I give up for the night I downloaded the source rpm and tried to do as you said rpm -ivh (source name) but got the following error:

warning: (source name): V3 DSA signature: NOKEY, key ID 63c4cb9f
1:gcc warning: user rse does not exist - using root
warning: group openpkg-member does not exist - using root
########################## [100%]
warning: user rse does not exist - using root
warning: group rse does not exist - using root
warning: user rse does not exist - using root
warning: group rse does not exist - using root

If I do the same as user and not root I ger an error:

error: cannot write to %sourcedir /usr/src/RPM/SOURCES

although I didn't expect to be able to run the rpm as user.

any ideas?

Last edited by Coookie Monster; 07-23-2005 at 06:14 PM.
 
Old 07-23-2005, 07:25 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,060

Rep: Reputation: 295Reputation: 295Reputation: 295
The source RPM won't help you. As the name implies it contains the sources, which you don't have a compiler to build. If you can't find gcc on your CDs, try rpmfind.net or linuxpackages.net -- you ought to be able to find it there.
 
  


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 gcc 4.0.1(binaries) naveenu Fedora - Installation 3 09-28-2005 09:37 AM
No GCC, No Intel binaries... Spotted Cheetah Linux - Software 5 06-10-2005 06:40 PM
Using gcc to make windows Binaries exvor Programming 5 01-10-2005 05:24 PM
problems installing mysql binaries ffenics2002 Linux - Software 1 03-04-2004 06:49 AM
Installing/Using Binaries e_a_olson Linux - Newbie 3 06-27-2001 11:54 AM


All times are GMT -5. The time now is 12:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration