Line 37:
Line 37:
* <code>pkg-config</code> to check on build library dependencies.
* <code>pkg-config</code> to check on build library dependencies.
* <code>python-ipaddr</code> is used by CRIT to pretty-print ip.
* <code>python-ipaddr</code> is used by CRIT to pretty-print ip.
−
* If <code>libbsd</code> is available, CRIU will be compiled with setproctitle() support. It will allow to make process titles of service workers to be more verbose.
+
* <code>libbsd</code>. If available, CRIU will be compiled with <code>setproctitle()</code> support. It will allow to make process titles of service workers to be more verbose.
−
* The iproute2 tool version 3.5.0 or higher is needed for dumping network namespaces. The latest one can be cloned from [http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=summary iproute2]. It should be compiled and a path to ip written in the environment variable <code>CR_IP_TOOL</code>.
+
* <code>iproute2</code> version 3.5.0 or higher is needed for dumping network namespaces. The latest one can be cloned from [http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=summary iproute2]. It should be compiled and a path to ip written in the environment variable <code>CR_IP_TOOL</code>.
−
* <code>libcap-devel</code> (RPM) or <code>libcap-dev</code> (DEB)
+
* <code>libcap-devel</code> (RPM) / <code>libcap-dev</code> (DEB)
−
* If you would like to use <code>make test</code> you should install <code>libaio-devel</code> (RPM) or <code>libaio-dev</code> (DEB).
+
* <code>libnet-devel libnl3-devel</code> (RPM) / <code>libnet1-dev</code> (DEB) / <code>libnl-3-dev libnet-dev</code> (Ubuntu)
−
* For test launcher <code>zdtm.py</code> you need <code>PyYAML</code> (RPM) or <code>python-yaml</code> (DEB).
−
−
Libnetwork is needed too:
−
* RPM
−
** <code>libnet-devel</code>
−
** <code>libnl3-devel</code>
−
* Deb
−
** <code>libnet1-dev</code>
−
* Ubuntu
−
** <code>libnl-3-dev libnet-dev</code>
For APT use "--no-install-recommends" parameter is to avoid asciidoc pulling in a lot of dependencies.
For APT use "--no-install-recommends" parameter is to avoid asciidoc pulling in a lot of dependencies.
+
Also read about [[ZDTM test suite]] if you want to run CRIU tests.
== Linux Kernel ==
== Linux Kernel ==