<div dir="ltr">I see.. :/<div><br></div><div>Gonzalo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 9, 2014 at 8:54 PM, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5">On 10 March 2014 00:46, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br>
<div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>On 10 March 2014 00:07, Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>></span> wrote:<br>

</div></div><div class="gmail_extra"><div class="gmail_quote"><div><div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div bgcolor="#FFFFFF" text="#000000"><br></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div bgcolor="#FFFFFF" text="#000000">
    Then issues ocurred with gwebsockets. It persistently tried to use
    python3.3, my system's default, instead of python2.7. Finally I
    found the culprit, in
    ./out/sandbox/install/lib/python2.7/site-packages/osbuild/build.py I
    replaced in line 190 one instance of "python" for "python2.7" and it
    worked after that.<br>
    <br>
    Finally when building sugar-base I had to set up the environment
    variable PYTHON=/usr/bin/python2.7 in order for it to build.<br>
    Also, when building sugar, I had to manually create the directory
    "./out/install/etc/gconf/" or it would fail to install<br>
    <br></div></blockquote><div><br></div></div><div>Maybe you can solve this issues just creating symlinks like in fedora:</div><div><br></div><div><div>[gonzalo@localhost develop-activity]$ ls -l /bin/python</div><div>


lrwxrwxrwx. 1 root root 7 Jan  9  2013 /bin/python -> python2</div>
<div><br></div><div>[gonzalo@localhost develop-activity]$ ls -l /bin/python2</div><div>lrwxrwxrwx. 1 root root 9 Jan  9  2013 /bin/python2 -> python2.7</div></div><span><font color="#888888"><div><br></div>
<div>Gonzalo</div></font></span></div></div></div></blockquote><div><br></div></div></div><div>I think archlinux has those symlinks already, but it also has "python" which is reallly python 3.<br>Now honestly I think that's a very bad decision archlinux made (and the reason I'm not using it anymore, fwiw, it's a real pain if you are compiling stuff a lot).<br>


But it is compatible with best practices suggested by the python documentation. So I think we should follow those practices in sugar-base (i.e. explicitly require python2), which will take care of this issue. We are already doing that in the gtk3 modules.<br>


</div></div>
</div></div>
</blockquote></div><br></div></div></div><div class="gmail_extra">Oh missed the /bin/python -> python2 suggestion. That would break archlinux stuff which assumes python is python3.<br>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Learning Software for children<br></div></div>
</div>