Kuku/Sugar Install Notes
These are some notes on the steps taken to do an install of Fedora 7, and sugar on a dell machine that was connected to the internet via a home router.
Downloaded the minimal cd installer at
as listed at
Burned the .iso file onto a cd using macs diskutility (drag the image into the diskutility bar on the left, highlight it, then choose burn to disk from one of the dropdown menus).
Inserted the cd and rebooted. Clicked through the menu as outlined at http://docs.fedoraproject.org/fedora-install-guide-en/fc5/ch-other-install-methods.html . Used
Web site name: fedora.mirror.iweb.ca Fedora directory: /releases/7/Fedora/i386/os/
Installed with default partition layout in remaining space. (When trying to resize the windows partition I messed up the PBR of /dev/sda2 so Windows cannot boot.) Added /dev/sda2 to the grub loader. Instarred Office and Productivity, Software Development and Web Server 'packages' by checking boxes on the menu.
Once installation complete, rebooted, only allowed ssh with firewall settings. Then updated packages and rebooted.
Followed instructions on Sugar_on_Fedora_7 - al went smoothly.
Made directory ~/olpc in my user account. Followed instructions on Sugar_with_sugar-jhbuild.
Got error message associated with penguinTV:
*** Checking out penguintv *** [71/74] svn checkout https://svn.sourceforge.net/svnroot/penguintv/trunk penguintv svn: PROPFIND request failed on '/svnroot/penguintv/trunk' svn: PROPFIND of '/svnroot/penguintv/trunk': Could not resolve hostname `svn.sourceforge.net': Host not found (https://svn.sourceforge.net) *** error during stage checkout of penguintv: ########## Error running svn checkout https://svn.sourceforge.net/svnroot/penguintv/trunk penguintv *** [71/74]  rerun stage checkout  ignore error and continue to done  give up on module  start shell  go to stage force_checkout choice: 1 *** Checking out penguintv *** [71/74] svn checkout https://svn.sourceforge.net/svnroot/penguintv/trunk penguintv svn: PROPFIND request failed on '/svnroot/penguintv/trunk' svn: PROPFIND of '/svnroot/penguintv/trunk': Could not resolve hostname `svn.sourceforge.net': Host not found (https://svn.sourceforge.net) *** error during stage checkout of penguintv: ########## Error running svn checkout https://svn.sourceforge.net/svnroot/penguintv/trunk penguintv *** [71/74]  rerun stage checkout  ignore error and continue to done  give up on module  start shell  go to stage force_checkout choice: 2
Retried after this post. In the same directory as jhbuild, did:
git pull ./sugar-jhbuild update penguintv
which worked. Did
PyGame is not included in sugar-jhbuild, so I had to do
yum install pygame
As detailed in this email, I needed to set my PYTHONPATH variable inside the sugar shell to point to my pygame installation. However, this caused conflicts between sugar's python and my F7 python. So, as suggested, I did a separate checkout of sugar-jhbuild, and built it without python.
cd ~/olpc git-clone git://dev.laptop.org/sugar-jhbuild sugar-jhbuild-F7-python cd sugar-jhbuild-F7-python git pull ./sugar-jhbuild update
Then I edited my ~/.olpc.jhbuildrc file and added the line
skip = ['python']
Seeing the module list gave me
./sugar-jhbuild list autoconf meta-bootstrap gnome-common libxml2 libxslt gtk-doc cairo glib pango atk gtk+ artwork libmatchbox matchbox-window-manager pygobject pycairo libglade pygtk hippo-canvas libcroco librsvg libwnck gnome-python-desktop loudmouth dbus dbus-glib telepathy-glib telepathy-gabble avahi telepathy-salut dbus-python telepathy-python libjingle gstreamer liboil gst-plugins-base gst-plugins-farsight gst-plugins-good farsight libtelepathy gst-ffmpeg telepathy-stream-engine vte shared-mime-info gst-python sugar presence-service wv libabiword pyabiword libabiword-plugins squeak poppler evince-olpc sqlalchemy xapian-core xapian-bindings pysqlite pyxapian datastore xulrunner hulahop meta-sugar-platform etoys xbook web-activity chat-activity block-party-activity write penguintv journal-activity connect-activity meta-sugar-activities
which has some python stuff in it. Then I built with
Emulation with qemu
Installed qemu with
yum install qemu
cd ~/olpc mkdir emulation cd emulation bzcat olpc-redhat-stream-development-devel_ext3.img.bz2> laptop.img export PORT=2221 qemu -soundhw es1370 -serial `tty` -redir tcp:$PORT::22 -hda laptop.img
Did not do the multikey instruction, but reset root and olpc passwords. Once sugar was up, as root in the terminal
cd /usr/share/activities curl -C - -O http://dev.laptop.org/~lucks/kuku.xo unzip kuku.xo killall X
Kuku icon then showed up in the activity bar, although the whole thing was so slow, could not get anything to run. Or activites can be put in ~/olpc/Activities
su olpc cd ~ mkdir Activities cd !$ wget http://dev.laptop.org/~lucks/kuku.xo unzip kuku.xo killall X
To be able to run activities from the command line, do
su olpc cd ~ grep export /usr/bin/sugar > ~/env source ~/env sugar-activity Kuku
Adding kqemu acceleration
From http://atrpms.net/dist/f7/kqemu, downloaded
based on my kernel version listed in /boot.