You need a Fortran compiler: although the system compiler on OS X is GCC, Apple don't include g77 in their distribution.
You can get a g77 package from either DarwinPorts or Fink. Darwinports is (in Norman's experience) rather more fiddly to set up than Fink, but it is possibly to be preferred, since it has a certain amount of Apple support and contributions from Apple employees; it appears to be more deliberately aligned with the GCC version in the OS X distribution; and there are suggestions that Apple may at some point `bless' it, and make it more easily integrated with a standard OS X setup. Since the two projects are now reportedly sharing code, the distinction between them should increasingly become one of style rather than of quantity.
Once you've installed one of the g77 packages, and put the appropriate binary directory in your PATH, you should be ready to go.
If you want to build and install the documentation then you should
install TeX on Mac OS X (get the gwTeX
distribution
(good) from <http://www.rna.nl/tex.html>
; there are other
notes about TeX on OS X at
<http://www.esm.psu.edu/mac-tex/>
). Otherwise use:
You might also have to install ghostscript from Darwinports or Fink.% ./configure -C --disable-shared --without-stardocs
You should also install the Apple X11 distribution, including the
X11-SDK: this should be included on your Mac OS X distribution media,
but depending on that distribution's version may or may not installed
by default. The OS X development tools (based on gcc
)
may, again, be on your distribution media, but if they are not may be
found on an inadequately stable URL somewhere near
<http://developer.apple.com/macosx/>
. Do not use the
Darwinports or Fink X11.