[CRIU] Is make install broken?

Saied Kazemi saied at google.com
Wed Feb 17 10:48:43 PST 2016


I just cloned a fresh copy of CRIU but sudo make install failed because
DESTDIR and other path-related variables are not set (used to be set in
Makefile.inc in earlier versions).

Am I missing something?

--Saied

$ git clone https://github.com/xemul/criu.git
$ cd criu
$ sudo make install
...
running install_scripts
creating local/bin
copying build/scripts-2.7/crit -> local/bin
changing mode of local/bin/crit to 755
running install_egg_info
Writing local/lib/python2.7/dist-packages/crit-0.0.1.egg-info
  INSTALL
*mkdir: missing operand*
Try 'mkdir --help' for more information.
Makefile.install:4: recipe for target 'install-criu' failed
make: *** [install-criu] Error 1
$ grep -rI DESTDIR .
./Documentation/Makefile: $(Q) mkdir -p $(DESTDIR)$(MAN8DIR)
./Documentation/Makefile: $(Q) install -m 644 $(MANS) $(DESTDIR)$(MAN8DIR)
./Makefile.install: $(Q) mkdir -p $(DESTDIR)$(SBINDIR)
./Makefile.install: $(Q) install -m 755 $(PROGRAM) $(DESTDIR)$(SBINDIR)
./Makefile.install: $(Q) mkdir -p $(DESTDIR)$(LIBDIR)
./Makefile.install:
$(DESTDIR)$(LIBDIR)/$(CRIU-SO).so.$(VERSION_SO_MAJOR).$(VERSION_SO_MINOR)
./Makefile.install: $(DESTDIR)$(LIBDIR)/$(CRIU-SO).so.$(VERSION_SO_MAJOR)
./Makefile.install: $(DESTDIR)$(LIBDIR)/$(CRIU-SO).so
./Makefile.install: $(Q) mkdir -p $(DESTDIR)$(INCLUDEDIR)
./Makefile.install: $(Q) install -m 644 $(CRIU-INC) $(DESTDIR)$(INCLUDEDIR)
./Makefile.install: $(Q) mkdir -p $(DESTDIR)$(SYSTEMDUNITDIR)
./Makefile.install: $(Q) mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
./Makefile.install: $(Q) install -m 644 lib/c/criu.pc
$(DESTDIR)$(LIBDIR)/pkgconfig
./Makefile.install: $(Q) python scripts/crit-setup.py install
--root=$(DESTDIR) --prefix=$(PREFIX)
$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160217/8965e392/attachment-0001.html>


More information about the CRIU mailing list