Skip to content

Chapter 1

pmccabe5 edited this page Sep 22, 2020 · 4 revisions

Chapter 1: Progress from Building Sugar Labs

Summary:

After testing the sugar project across multiple virtual machines, we were unable to successfully build the sugar project. We were successful with an install of sugar on an Ubuntu 19.04 Virtual Machine by installing the sucrose package. We will continue to attempt to build the software from source.

Technical Description:

We have created Virtual Machines for the following versions of Ubuntu:

  • 20.04 Focal Fossa
  • 19.04 Disco Dingo
  • 18.04 Bionic Beaver
  • 17.04 Artful Aardvark

Once we have set up the VMs, we have cloned our repository to the VM and run the following scripts: clone.sh

#!/bin/bash

for module in sugar{-datastore,-artwork,-toolkit,-toolkit-gtk3,}; do
    git clone https://github.com/sugarlabs/$module.git
done

deps.sh

#!/bin/bash

for module in sugar{-datastore,-artwork,-toolkit,-toolkit-gtk3,}; do
    sudo apt build-dep $module
done
sudo apt install python{,3}-six python3-empy


sudo apt install autoconf autogen intltool libtool automake autotools-dev libopts25 libopts25-dev \ 
libglib2.0-dev gtk+-3.0 librsvg2-dev libasound2-dev python-empy GTK+-2.0 python2.7-dev python-dev \
gtk2.0 icon-naming-utils

build.sh

#!/bin/bash

for module in sugar{-artwork,-toolkit-gtk3,-datastore,}; do
    cd $module
    ./autogen.sh --with-python3
    make
    sudo make install
    cd ..
done

We have run into issues with our deps.sh script which installs all of the dependencies for the sugar repository to build. Alongside trying to build the project from source, we installed the sucrose package in the Ubuntu Aptitude (apt) repositories and as per the instructions on the Github Repository, logged out and the desktop environment was only available in the Ubuntu 19.04 Virtual Machine once the package was installed via the repository.

Clone this wiki locally