summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2007-10-24 05:05:20 +0200
committerDon Stewart <dons@galois.com>2007-10-24 05:05:20 +0200
commit540415e9a0c6e1226ed5b7550bfef8264ffb93c8 (patch)
treeb7178ef8b04966881f6d202026e8f8a766b16555 /README
parent9777723e4fa8e54de140d20613b4c8a97811f5a7 (diff)
downloadmetatile-540415e9a0c6e1226ed5b7550bfef8264ffb93c8.tar
metatile-540415e9a0c6e1226ed5b7550bfef8264ffb93c8.zip
explain that you need ghc as well
darcs-hash:20071024030520-cba2c-26619200fdf8426008590bc52d1208356d1ddd9a
Diffstat (limited to 'README')
-rw-r--r--README26
1 files changed, 20 insertions, 6 deletions
diff --git a/README b/README
index 889e11c..7f2b3c0 100644
--- a/README
+++ b/README
@@ -40,21 +40,35 @@ Building:
Get the dependencies
- Firstly, you'll need the C X11 library headers. On many platforms,
- these come pre-installed. For others, such as Debian, you can get
- them from your package manager:
+ You first need a Haskell compiler. Your distribution's package
+ system will have binaries of GHC (the Glasgow Haskell Compiler), the
+ system we use, so install that. If your distro doesn't provide a
+ binary, you can find them here:
+
+ http://haskell.org/ghc
+
+ For example, in Debian you would install GHC with:
+
+ apt-get install ghc6
+
+ Since you're building an X application, you'll need the C X11
+ library headers. On many platforms, these come pre-installed. For
+ others, such as Debian, you can get them from your package manager:
apt-get install libx11-dev
- It is likely that you already have some of these dependencies. To check
- whether you've got a package run 'ghc-pkg list some_package_name'
+ Finally, you need the Haskell libraries xmonad depends on. Since
+ you've a working GHC installation now, most of these will be
+ provided. To check whether you've got a package run 'ghc-pkg list
+ some_package_name'. You will need the following packages:
mtl http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mtl-1.0
unix http://hackage.haskell.org/cgi-bin/hackage-scripts/package/unix-2.0
X11 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.2.3
X11-extras: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-extras-0.4
-And then build with Cabal:
+And then build xmonad with Cabal as follows (the same goes for the other
+Haskell libraries):
runhaskell Setup.lhs configure --prefix=$HOME
runhaskell Setup.lhs build