The source distribution needs an installed GHC 4.08.X or 5.X
to build. If there isn't a binary distribution for your
platform (any version), then you'll need to consult the
section on Porting GHC in the Building Guide.
The OS-specific packages (eg. RPMs on Linux) are
generally a better bet than the vanilla .tar.bz2
binary bundles, because they will check for dependencies and
allow the package to be uninstalled at a later date.
However, if you don't have permission to install binaries
on your system, or you want to install somewhere other than
the default place (usually /usr or
/usr/local), then you'll need to use the
.tar.bz2 binary bundle.
Available downloads are:
RPMs for RedHat Linux/x86 7.3 (these may also work with RedHat
8.0; for 7.2 RPMs see below) from Manuel Chakravarty:
RPMs for RedHat Linux/x86 7.2 from
Binary tar for Linux/x86 with glibc 2.2 (a complete build,
including interactive system, profiling libraries and
(15.9 Mb). This build was done on a RedHat 7.2 box.
NOTE: you need the following libraries to use this
distribution: libreadline.so.4, libncurses.so.5. These come as
standard on RedHat 7.2, at least.
Binary tar for SPARC Solaris 2.7 (complete build, with profiling
libraries and docs): .tar.bz2
On Solaris, you'll need libcurses.so.1, which resolves to
/usr/lib/libcurses.so.1 on our build machine. You should ensure
you have this before you start, since without it GHC won't work at
NOTE: GCC 3.1 does not work with GHC on Sparc/Solaris at this
time. Please ensure that an earlier version (preferrably 2.95.3)
is installed and is called 'gcc' on your path.
Windows Installer for Microsoft Windows 95, 98, ME, NT, 2000 and
XP, prepared by Sigbjorn
Finne (complete build, as above):
ghc-5-04-1.msi (~29 Mb).
This installer relies on the Windows Installer runtime to
operate. If, after having downloaded the above file,
double-clicking on the MSI file doesn't start up the installer,
the likely cause is that you don't have the Windows Installer
runtime installed on your machine. You can download it from
Install the appropriate version, then double-click
again on the MSI file.
OpenBSD/x86 3.1 packages, prepared by Don Stewart:
message describes how to build GHC from source using the port