criu is an utility to checkpoint/restore a process tree.
Home Page - https://criu.org/Main_Page
Tarball - http://download.openvz.org/criu/criu-3.10.tar.bz2
Installation - https://criu.org/Installation
I want to use it to build a session save/restore functionality for X11.
Tried compiling myself.
⋊ ~/P/x/criu-3.10> make fatal: not a git repository (or any of the parent directories): .git make[1]: Nothing to be done for 'all'. make[1]: 'images/built-in.o' is up to date. make[1]: 'compel/plugins/std.lib.a' is up to date. make[1]: 'compel/plugins/fds.lib.a' is up to date. make[1]: 'compel/libcompel.a' is up to date. make[1]: 'compel/compel-host-bin' is up to date. make[1]: Nothing to be done for 'all'. make[1]: 'soccr/libsoccr.a' is up to date. criu/Makefile.packages:38: Can not find some of the required libraries criu/Makefile.packages:39: Make sure the following packages are installed criu/Makefile.packages:40: RPM based distros: protobuf protobuf-c protobuf-c-devel protobuf-compiler protobuf-devel protobuf-python libnl3-devel libcap-devel python2-future criu/Makefile.packages:41: DEB based distros: libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler protobuf-compiler python-protobuf libnl-3-dev libcap-dev python-future criu/Makefile.packages:42: To run tests the following packages are needed criu/Makefile.packages:43: RPM based distros: libaio-devel python2-pyyaml criu/Makefile.packages:44: DEB based distros: python-yaml libaio-dev criu/Makefile.packages:45: *** Compilation aborted. Stop. make[1]: *** [criu/Makefile.packages:51: check-packages] Error 2 make: *** [Makefile:228: criu] Error 2
⋊ ~> sudo eopkg li | grep protobuf protobuf - Protocol Buffers - Google's data interchange format protobuf-c - Protocol Buffers implementation in C protobuf-c-devel - Development files for protobuf-c protobuf-devel - Development files for protobuf python-protobuf - Python bindings for Protobuf ⋊ ~> sudo eopkg li | grep libcap libcap2 - User-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels libcap2-devel - Development files for libcap2 ⋊ ~> sudo eopkg li | grep future python-future - Clean single-source support for Python 3 and 2 ⋊ ~> sudo eopkg li | grep libnl libnl - a collection of libraries providing APIs to netlink protocol based Linux kernel interfaces. libnl-devel - Development files for libnl ⋊ ~> eopkg li | grep libaio libaio - Linux kernel AIO access library ⋊ ~> eopkg li | grep yaml pyyaml - Python YAML binding ruamel_yaml - ruamel.yaml is a YAML 1.2 loader/dumper package for Python. yaml - LibYAML yaml-devel - Development files for yaml ⋊ ~>