Revision eb9d2acc

b/INSTALL
62 62
                    python-pyparsing python-simplejson python-bitarray \
63 63
                    python-pyinotify python-pycurl python-ipaddr socat fping
64 64

  
65
For older distributions (eg. Debian  Squeeze) the package names are
66
different.::
67

  
68
  $ apt-get install lvm2 ssh bridge-utils iproute iputils-arping make \
69
                    ndisc6 python python-pyopenssl openssl \
70
                    python-pyparsing python-simplejson python-bitarray \
71
                    python-pyinotify python-pycurl python-ipaddr socat fping
72

  
73
If bitarray is missing it can be installed from easy-install::
74

  
75
  $ easy_install bitarray
76

  
77 65
Note that the previous instructions don't install optional packages.
78 66
To install the optional package, run the following line.::
79 67

  
......
133 121
libraries are required in order to build Ganeti (but not to run and
134 122
deploy Ganeti on production machines). More specifically:
135 123

  
136
- `GHC <http://www.haskell.org/ghc/>`_ version 6.12 or higher
124
- `GHC <http://www.haskell.org/ghc/>`_ version 7 or higher
137 125
- or even better, `The Haskell Platform
138 126
  <http://hackage.haskell.org/platform/>`_ which gives you a simple way
139 127
  to bootstrap Haskell
......
150 138
- `curl <http://hackage.haskell.org/package/curl>`_, tested with
151 139
  versions 1.3.4 and above
152 140
- `hslogger <http://software.complete.org/hslogger>`_, version 1.1 and
153
  above (note that Debian Squeeze only has version 1.0.9)
141
  above.
154 142
- `hinotify <http://hackage.haskell.org/package/hinotify>`_, tested with
155 143
  version 0.3.2
156 144
- `Crypto <http://hackage.haskell.org/package/Crypto>`_, tested with
......
163 151
  above
164 152
- `lifted-base <http://hackage.haskell.org/package/lifted-base>`_,
165 153
  version 0.1.1 and above.
154
- `lens <http://hackage.haskell.org/package/lens>`_,
155
  version 3.0 and above.
166 156

  
167 157
Some of these are also available as package in Debian/Ubuntu::
168 158

  
......
176 166
                    libghc-attoparsec-dev libghc-vector-dev \
177 167
                    libghc6-zlib-dev
178 168

  
179
Or in older versions of these distributions (using GHC 6.x)::
180

  
181
  $ apt-get install ghc6 libghc6-json-dev libghc6-network-dev \
182
                    libghc6-parallel-dev libghc6-deepseq-dev \
183
                    libghc6-curl-dev
184

  
185 169
In Fedora, some of them are available via packages as well::
186 170

  
187 171
  $ yum install ghc ghc-json-devel ghc-network-devel \
......
207 191

  
208 192
  $ cabal install json network parallel utf8-string curl hslogger \
209 193
                  Crypto text hinotify==0.3.2 regex-pcre \
210
                  attoparsec vector base64-bytestring
194
                  attoparsec vector base64-bytestring lens
211 195

  
212 196
Haskell optional features
213 197
~~~~~~~~~~~~~~~~~~~~~~~~~
......
220 204
- `snap-server` <http://hackage.haskell.org/package/snap-server>`_, version
221 205
  0.8.1 and above.
222 206

  
223
This library is available in Debian Wheezy (but not in Squeeze), so you
224
can use either apt::
207
This library is available in Debian Wheezy, so you can use either apt::
225 208

  
226 209
  $ apt-get install libghc-snap-server-dev
227 210

  
......
231 214

  
232 215
to install it.
233 216

  
234
In case you still use ghc-6.12, note that ``cabal`` would automatically try to
235
install newer versions of some of the libraries snap-server depends on, that
236
cannot be compiled with ghc-6.12, so you have to install snap-server on its
237
own, explicitly forcing the installation of compatible versions::
238

  
239
  $ cabal install MonadCatchIO-transformers==0.2.2.0 mtl==2.0.1.0 \
240
                  hashable==1.1.2.0 case-insensitive==0.3 parsec==3.0.1 \
241
                  network==2.3 snap-server==0.8.1
242

  
243 217
.. _cabal-note:
244 218
.. note::
245 219
  If one of the cabal packages fails to install due to unfulfilled
b/NEWS
93 93

  
94 94
- ``lifted-base`` library (http://hackage.haskell.org/package/lifted-base)
95 95

  
96
- ``lens`` library (http://hackage.haskell.org/package/lens)
97

  
96 98

  
97 99
Version 2.10.0
98 100
--------------
b/configure.ac
607 607
AC_GHC_PKG_REQUIRE(hinotify)
608 608
AC_GHC_PKG_REQUIRE(Crypto)
609 609
AC_GHC_PKG_REQUIRE(lifted-base)
610
AC_GHC_PKG_REQUIRE(lens)
610 611

  
611 612
# extra modules for confd functionality; also needed for tests
612 613
HS_NODEV=

Also available in: Unified diff