LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-29-2014, 11:13 AM   #1
simdude5150
LQ Newbie
 
Registered: Dec 2014
Posts: 2

Rep: Reputation: Disabled
Problem installing GFortran on RHEL6.5 with x86


Hello

I am having problems with installing gfortran.

It seems as though my problems are very similar to this old post here (http://www.linuxquestions.org/questi...th-x86-857141/).

I followed the advise in that thread and used "yum install libgfortran" which successfully worked. The problem is that this does not seem to have actually activated gfortran for me. When I use "man gfortran" I get back "No manual entry for gfortran". As expected trying to use gfortran returns a similar "bash: gfortran: command not found".

I have set up gfortran on other systems before but have never had this sort of difficulty.

Thanks for any help.
 
Old 12-29-2014, 01:40 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
and you will

you install the compiler and not just a lib

Code:
su -
yum search gcc
there will be two FORTRAN compilers
the current gcc-gfortran ( gcc 4.4.7) and the old g77 in the "compat-gcc-34-g77"


ALSO
you will NEED!!! to have installed the gcc development tools and such

so
you will have to have ALREADY installed
Code:
su -
yum groupinstall "Development Tools"
-------------- or this hack that happens to actually work ------------
yum install gcc-c++
that last one by shear CHANCE!!!! should pull all the development tools

Last edited by John VV; 12-29-2014 at 01:44 PM.
 
Old 01-02-2015, 11:22 AM   #3
simdude5150
LQ Newbie
 
Registered: Dec 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you! That is the correct procedure for me. Everything works as expected now.
 
  


Reply



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
[SOLVED] Problem with installing mysql on Fedora 20 x86 zak100 Linux - Newbie 13 08-18-2014 05:05 AM
PXE install for RHEL6 x86 not working miszum Linux - Networking 8 07-15-2011 10:32 PM
problem in installing gcc-gfortran 4.3.3 Kilam orez Linux - Newbie 12 06-29-2011 01:20 AM
Problem installing GFortran on RHEL5 with x86 hippster Red Hat 4 01-20-2011 08:32 AM
[SOLVED] Problem installing Fedora 13 x86 on x3950 M2 Ehtetur Fedora 3 10-15-2010 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:09 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
Open Source Consulting | Domain Registration