<div dir="ltr"><div><div>HI, Ruslan,<br></div>That works perfect. Thanks.<br><br></div>- Hui<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 8, 2015 at 3:25 PM, Ruslan Kuprieiev <span dir="ltr">&lt;<a href="mailto:kupruser@gmail.com" target="_blank">kupruser@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Hui,<br>
    <br>
    I&#39;ve sent a patch &quot;[PATCH] criu: crit-install: use $PREFIX with
    --prefix instead of $DESTDIR&quot;<br>
    to fix your problem. Could you try it and tell me if it works for
    you?(i.e. you should be<br>
    able to just &quot;make install&quot; criu without altering PYTHONPATH)<br>
    <br>
    Thanks,<br>
    Ruslan<div><div class="h5"><br>
    <br>
    <div>On 08.05.15 21:46, Ruslan Kuprieiev
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      Hi Hui,<br>
      <br>
      <div>On 08.05.15 21:42, Hui Kang wrote:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">Some python dist can not find the pycriu in the
          path.<br>
          So we need to explicitly add to the path.<br>
          The HOWTO also misses a command about how to compile the criu<br>
          RPC bindings<br>
          <br>
          Signed-off-by: Hui Kang <a href="mailto:hkang.sunysb@gmail.com" target="_blank">hkang.sunysb@gmail.com</a><br>
          ---<br>
           test/mtouch/HOWTO | 5 +++++<br>
           1 file changed, 5 insertions(+)<br>
          <br>
          diff --git a/test/mtouch/HOWTO b/test/mtouch/HOWTO<br>
          index 482adec..8dcac33 100644<br>
          --- a/test/mtouch/HOWTO<br>
          +++ b/test/mtouch/HOWTO<br>
          @@ -47,6 +47,11 @@ from one node ot another (nodes can be
          VMs).<br>
                  ... stats.proto -&gt; ../criu/protobuf/stats.proto<br>
          <br>
              * Compile CRIU RPC bindings with &#39;make&#39;<br>
          +<br>
          +        # cd criu<br>
          +        # make crit install<br>
          +        # export
          PYTHONPATH=/local/lib/python2.7/dist-packages/<br>
          +<br>
        </div>
      </blockquote>
      <br>
      Oh, I see what is going on... Looks like criu Makefile doesn&#39;t
      handle DESTDIR properly<br>
      when installing crit and pycriu, so crit-setup.py installs
      everything in a wrong place.<br>
      <br>
      You should not have to use PYTHONPATH. I&#39;ll send a patch shortly.<br>
      <br>
      <blockquote type="cite">
        <div dir="ltr">    * Create _local_ directory for images<br>
          <br>
                  # mkdir -p /var/local/p.haul-fs/<br>
          --<br>
          1.9.1<br>
          <br>
        </div>
      </blockquote>
      <br>
      Thanks,<br>
      Ruslan<br>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div></div></div></div></div>