[Sugar-devel] sugar-build on archlinux without broot

Sebastian Silva sebastian at fuentelibre.org
Sat Mar 8 22:07:15 EST 2014


Hello,
My machine is somewhat constrained in ram and diskspace so running 
Fedora on a chroot was slow enough
that I decided to set *"use_broot":false* on *prefs.json* with the 
intention of running the latest sugar natively.

I face a few issues:

First, /automake/ gave me some issues, it was refusing to build with a 
cryptic error, it was because I needed to install the *ccache* package. 
Then, automake wanted to install to /usr/local/bin, so I changed group 
permissions to /usr/local (I did chgrp wheel /usr/local/*;; chmod g+w 
/usr/local/*). This installed automake.
By the way, I don't think this process was required because my system's 
automake is newer than the one sugar-build installed. I'll look into this.

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.

Finally when building sugar-base I had to set up the environment 
variable PYTHON=/usr/bin/python2.7 in order for it to build.
Also, when building sugar, I had to manually create the directory 
"./out/install/etc/gconf/" or it would fail to install

I know this is unsupported but I just wanted to share in case somebody 
would like to setup a dev environment in archlinux. I like that it's 
rolling release and I won't have to worry about ever upgrading to the 
next version. My main intention is to have a nice setup for building 
activities, test latest sugar and also try to help diagnose the 
performance issues gtk3 sugar has.

Regards,
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140308/4f1179ab/attachment.html>


More information about the Sugar-devel mailing list