Line 21: |
Line 21: |
| CRIU is mostly written in C and the build system is based on Makefiles. Thus just install standard <code>gcc</code> and <code>make</code> packages (on Debian, <code>[https://packages.debian.org/build-essential build-essential]</code> will pull in both at once). | | CRIU is mostly written in C and the build system is based on Makefiles. Thus just install standard <code>gcc</code> and <code>make</code> packages (on Debian, <code>[https://packages.debian.org/build-essential build-essential]</code> will pull in both at once). |
| | | |
− | For building on x86 you will need <code>libc6-dev-i386</code> and <code>gcc-multilib</code> instead of <code>gcc</code> which isn't compiled with i386 support. | + | For building on x86 with compatible 32-bit applications C/R support you will need <code>libc6-dev-i386, gcc-multilib</code> instead of <code>gcc</code> (only in criu-dev for now, kernel patching needed). |
| | | |
| If you are cross compiling for ARM, use distribution packages or download prebuilt toolchains from Linaro. | | If you are cross compiling for ARM, use distribution packages or download prebuilt toolchains from Linaro. |
Line 48: |
Line 48: |
| * RPM package names | | * RPM package names |
| ** <code>group Development\ Tools</code> | | ** <code>group Development\ Tools</code> |
− | ** <code>glibc-devel.i686 #on x86_64</code>
| |
| ** <code>protobuf</code> | | ** <code>protobuf</code> |
| ** <code>protobuf-c</code> | | ** <code>protobuf-c</code> |
Line 130: |
Line 129: |
| * <code>pkg-config</code> to check on build library dependencies. | | * <code>pkg-config</code> to check on build library dependencies. |
| * <code>libnl3</code> and <code>libnl3-devel</code> (RPM distros) or <code>libnl-3-dev</code> (DEB distros) for network operations. | | * <code>libnl3</code> and <code>libnl3-devel</code> (RPM distros) or <code>libnl-3-dev</code> (DEB distros) for network operations. |
− | * <code>glibc-devel.i686</code> (RPM) or <code>libc6-dev-i386</code> (DEB) for building on x86-64
| |
| * <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> available, CRIU will be compiled with setproctitle() support. It will allow to make process titles of service workers to be more verbose. | | * If <code>libbsd</code> available, CRIU will be compiled with setproctitle() support. It will allow to make process titles of service workers to be more verbose. |