Revision bd341bff INSTALL

b/INSTALL
49 49
  <http://code.google.com/p/ipaddr-py/>`_
50 50
- `Bitarray Python library <http://pypi.python.org/pypi/bitarray/>`_
51 51
- `GNU Make <http://www.gnu.org/software/make/>`_
52
- `GNU M4 <http://www.gnu.org/software/m4/>`_
52 53

  
53 54
These programs are supplied as part of most Linux distributions, so
54 55
usually they can be installed via the standard package manager. Also
......
56 57
Debian/Ubuntu, you can use this command line to install all required
57 58
packages, except for RBD, DRBD and Xen::
58 59

  
59
  $ apt-get install lvm2 ssh bridge-utils iproute iputils-arping make \
60
  $ apt-get install lvm2 ssh bridge-utils iproute iputils-arping make m4 \
60 61
                    ndisc6 python python-openssl openssl \
61 62
                    python-pyparsing python-simplejson python-bitarray \
62 63
                    python-pyinotify python-pycurl python-ipaddr socat fping
......
75 76

  
76 77
Note that this does not install optional packages::
77 78

  
78
  $ apt-get install python-paramiko python-affinity qemu-img
79
  $ apt-get install python-paramiko python-affinity qemu-utils
79 80

  
80 81
If some of the python packages are not available in your system,
81 82
you can try installing them using ``easy_install`` command.
82 83
For example::
83 84

  
84 85
  $ apt-get install python-setuptools python-dev
85
  $ cd / && sudo easy_install \
86
  $ cd / && easy_install \
86 87
            affinity \
87 88
            bitarray \
88 89
            ipaddr
......
205 206

  
206 207
  $ apt-get install libghc-crypto-dev libghc-text-dev \
207 208
                    libghc-hinotify-dev libghc-regex-pcre-dev \
209
                    libpcre3-dev \
208 210
                    libghc-attoparsec-dev libghc-vector-dev \
209 211
                    libghc-snap-server-dev
210 212

  
......
219 221
In case you still use ghc-6.12, note that ``cabal`` would automatically try to
220 222
install newer versions of some of the libraries snap-server depends on, that
221 223
cannot be compiled with ghc-6.12, so you have to install snap-server on its
222
own, esplicitly forcing the installation of compatible versions::
224
own, explicitly forcing the installation of compatible versions::
223 225

  
224 226
  $ cabal install MonadCatchIO-transformers==0.2.2.0 mtl==2.0.1.0 \
225 227
                  hashable==1.1.2.0 case-insensitive==0.3 parsec==3.0.1 \

Also available in: Unified diff