Link to home
Start Free TrialLog in
Avatar of thomaszhwang
thomaszhwangFlag for United States of America

asked on

Missing FORTRAN compiler to compile R

I'm trying to install R on a Red Hat Enterprise Linux.

When I tried to compile R using ./configure, it reported "No F77 compiler found" - looks like it cannot find the Fortran Compiler.

However I have installed the GCC tools which should contain a Fortran Compiler, right?

Anyone can help me with this?  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thomaszhwang

ASKER

I just tried to run
yum install fort77

Open in new window

.

It looks like there is no package called that name.

Thanks.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)

Open in new window


Is this what you want?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I ran
yum search gfortran

Open in new window

and it returned
compat-libgfortran-41.i686 : Compatibility Fortran 95 runtime library version 4.1.2
compat-libgfortran-41.x86_64 : Compatibility Fortran 95 runtime library version 4.1.2
gcc-gfortran.x86_64 : Fortran support
libgfortran.i686 : Fortran runtime
libgfortran.x86_64 : Fortran runtime
mingw32-gcc-gfortran.x86_64 : MinGW Windows cross-compiler for FORTRAN

Open in new window

Which one should I install?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.