LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-09-2005, 09:39 AM   #1
hexadog
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
Question http://www.linuxquestions.orgGCC installation


Just upgraded my Fedora to 3.0. Got Gcc as CD , version 4.0.0, which I installed with yum install gcc.
Trying to run ./configure for a program, message shows: No F77 or f2c found.
How do I know which programs are installed? I think some fedora is installed.
Is gcc installed correctly?
Thanks hexadog
 
Old 06-09-2005, 11:06 AM   #2
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Ignore it all you need to compile gcc is gcc ./configure --prefix=/opt && make bootstrap

/opt is a good place to put gcc-4.0 so it doesn't conflict with your reguler gcc.

Last edited by Boow; 06-09-2005 at 11:11 AM.
 
Old 06-14-2005, 12:15 AM   #3
hexadog
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Started from the begining. Got GCC from CD in /opt and extracted the tar files. But still does not work.
What is that --prefix in your suggestion? Think there must be some Fortran installed as libs there (from GCC) but the ./configure program still brings no F77 or f2c found. Is it possible that it's not in the PATH?
thanks hexadog
 
Old 06-15-2005, 11:46 AM   #4
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
You losing me here bud is gcc-4.0 and rpm or a tar.gz or tar.bz2?
the --prefix=/opt tells configure to install all the gcc files to /opt so you wont overwrite you normal gcc.
 
Old 06-23-2005, 02:29 AM   #5
hexadog
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I am probably the one that is lost...
the gcc cd I got from collegue contains lots of tar. gz and tar.bz2 ex: gcc-4.0.0.tar.gz and the same with .tar.bz2. Then there are gcc-ada, gcc-core, gcc-fortran, etc also everything bz2 and gz. there is also a folder called diffs, containing gcc-3.4.3.4.0.0.diff.bz2 and .gz (etc, also for the others).
So I just don't know the differences of them all, as well as which to install.
On the original DVD coming with Fedora 3 is a gcc.4.0.0 but rpm.
What do I take and how to install. Thanks for your patience.hexadog
 
  


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
What's going on with http://www.mplayer.hu? ioan123 General 3 10-19-2005 01:19 PM
http://www.tigerdirect.com and others WarlockofVirgo General 2 11-02-2004 01:14 AM
http://www.fsmlabs.com Thaidog Linux - Distributions 1 05-25-2003 09:36 AM
seeking www.linuxquestions.org/slackware FAQ slackfan Slackware 6 02-16-2003 03:14 AM
http://www.granitecanyon.com/ Stimm LQ Suggestions & Feedback 2 10-10-2000 12:20 PM


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