Install Mopac7 on FD6

David Jansen jansen at strw.leidenuniv.nl
Fri Feb 16 12:29:00 UTC 2007


On Fri, Feb 16, 2007 at 03:53:49PM +0800, Qiang Zhong wrote:
> Hellow:
>        I am a fd fans, Now I prepare to install Mopac7 which is a fortran language
> software, when I make it ,I  got a  error message:
> $ make
> f77 -O -c -static  -c -o aababc.o aababc.f
> make: f77: Command not found
> make: *** [aababc.o] Error 127
> 
> what happen with it, Could somebody tell me how to do ?Thank you very much!

In gcc 4.x, the fortran compiler is called gfortran, not g77 or f77. So
maybe it will work to edit the makefile and change the name of the compiler.
However, if the code is really Fortran77 and incompatible with
Fortran95,
you may want to install the older compiler set:
  yum install compat-gcc-34-g77
will install gcc 3.4 with g77 as fortran compiler.
(this is for FC6, for FC5, the package is compat-gcc-32-g77 which of
course is gcc 3.2)

David Jansen




More information about the fedora-list mailing list