1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
<html><head><title>Hat system requirements</title></head>
<body bgcolor=#ffffff>
<table><tr><td width=500>
<center>
<img src="hat.gif" alt="Hat Logo"><br>
<h1>Hat system requirements</h1>
</center>
<hr>
<h3>You will need...</h3>
<p>
To build and use Hat, you will need
<ul>
<li> a Haskell'98 compiler that supports the standard FFI (i.e.
<a href="http://www.haskell.org/nhc98/">nhc98</a> or
<a href="http://www.haskell.org/ghc/">ghc</a>)
<li> the <a href="http://www.haskell.org/hmake/">hmake</a> compilation manager
<li> GNU make
<li> a C compiler (usually gcc)
<li> the Gnu <a href="ftp://ftp.gtk.org/pub/gtk/v1.2/">glib</a>
data structure library
<li> at least 128Mb of memory (256Mb with ghc -O)
<li> disk space: 30Mb (nhc98), 50Mb (ghc)
</ul>
Here are the minimum versions of software that we recommend: anything
earlier than these is unlikely to interoperate correctly with Hat-2.02.
<center>
<table cellspacing=5>
<tr><th>software</th><th>minimum version</th></tr>
<tr><td>ghc</td><td>5.04.2</td></tr>
<tr><td>nhc98</td><td>1.16</td></tr>
<tr><td>hmake</td><td>3.07</td></tr>
<tr><td>gcc</td><td>2.8.1</td></tr>
<tr><td>glib</td><td>1.2.0</td></tr>
</table>
</center>
<p>
You only need one Haskell compiler - the Hat installation procedure
will detect what you already have and use it. However, it is
absolutely essential that you have <em>hmake</em>. Not only is it
needed to build the various Hat tools, but you will also need it when
you want to build tracing versions of your own programs.
<p>
You must also have a Unix-like operating system environment with
X windows, in particular the <em>resize</em> command, and the
<em>xterm</em> terminal emulator supporting ANSI colour codes. This is
used when you start one browsing tool from within another, to bring
up a new text window. If you are using the Windows operating system,
then <a href="http://www.cygwin.com/">Cygwin</a> is the appropriate
environment to use - it includes the eXceed X-server. For MacOS X,
you should install the <a href="http://www.apple.com/macosx/x11/">Apple
XFree86</a> server, or an equivalent.
<p>
If you do not have <em>gcc</em> as your C compiler, you will need to
ensure that your <em>CC</em> environment variable is set to the name
of your C compiler at the configuration stage. For instance,
<pre> CC=cc ./configure --buildwith=...</pre>
<p>
The browsing tools use the <em>glib</em> C library, which is related to
the larger <em>gtk+</em> set of libraries. It is important that
you have version glib-1.2.x (although you may also have another version
glib-2.0.x installed simultaneously). The latest version in the
1.2.x series is <em>glib-1.2.10</em>, and it is available from
<a href="ftp://ftp.gtk.org/pub/gtk/v1.2/">ftp.gtk.org</a>. The automatic
configuration for <em>Hat</em> will discover whether <em>glib</em>
is already installed or not.
<h3>GHC requirements</h3>
<p>
If you have <em>ghc</em>, then a <em>package</em> is built, containing
various Hat libraries. The installation procedure attempts to
install the new `hat' package in the system directories that belong
to <em>ghc</em>. You must have the appropriate permissions to write
into those directories, and sufficient permissions to update the
system-wide <em>ghc</em> package configuration. (The installation
and configuration is performed automatically.)
<h3>nhc98 requirements</h3>
<p>
If you have <em>nhc98</em>, then a <em>package</em> is built, containing
various Hat libraries. The installation procedure attempts to
install the new `hat' package in the system directories that belong
to <em>nhc98</em>. You must have the appropriate permissions to write
into those directories. (The installation is performed automatically.)
<hr>
<p>
The latest updates to these pages are available on the WWW from
<a href="http://www.haskell.org/hat/">
<tt>http://www.haskell.org/hat/</tt></a><br>
<a href="http://www.cs.york.ac.uk/fp/hat/">
<tt>http://www.cs.york.ac.uk/fp/hat/</tt></a>
<p>
This page last modified: 13th March 2003<br>
<a href="http://www.cs.york.ac.uk/fp/">
York Functional Programming Group</a><br>
</td></tr></table>
</body></html>
|