[Libguestfs] "make distcheck" failure

Jim Meyering jim at meyering.net
Tue Aug 28 09:59:11 UTC 2012


Hi Rich,

I ran these commands as non-root:

    ./autogen.sh && make && make distcheck

It got most of the way through, but failed in the VPATH part
while rebuilding from a ./_build subdir, like this:

    make[4]: Entering directory `/h/j/w/co/hivex/hivex-1.3.6/_build/ocaml'
    mkdir -p /usr/lib64/ocaml
    mkdir -p /usr/lib64/ocaml/stublibs
    ocamlfind install \
      -ldconf ignore -destdir /usr/lib64/ocaml \
      hivex \
      META *.so *.a *.cma *.cmi ../../ocaml/*.mli *.cmx *.cmxa
    ocamlfind: Cannot mkdir /usr/lib64/ocaml/hivex: Permission denied
    make[4]: *** [install-data-hook] Error 2
    make[4]: Leaving directory `/h/j/w/co/hivex/hivex-1.3.6/_build/ocaml'
    make[3]: *** [install-data-am] Error 2
    make[3]: Leaving directory `/h/j/w/co/hivex/hivex-1.3.6/_build/ocaml'
    make[2]: *** [install-am] Error 2
    make[2]: Leaving directory `/h/j/w/co/hivex/hivex-1.3.6/_build/ocaml'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/h/j/w/co/hivex/hivex-1.3.6/_build'
    make: *** [distcheck] Error 1

Obviously, it should not be trying to create directories under /usr.




More information about the Libguestfs mailing list