Kuku/Sugar Install Notes

From OLPC
< Kuku
Revision as of 11:31, 12 July 2007 by Lucks (talk | contribs)
Jump to: navigation, search

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.

Install F7

Downloaded the minimal cd installer at

   ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/images/boot.iso

as listed at

http://docs.fedoraproject.org/install-guide/f7/en_US/sn-which-files.html

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.

Install Sugar

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]


  [1] rerun stage checkout
  [2] ignore error and continue to done
  [3] give up on module
  [4] start shell
  [5] 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]


  [1] rerun stage checkout
  [2] ignore error and continue to done
  [3] give up on module
  [4] start shell
  [5] 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

 
./sugar-jhbuild build

which worked.

Install PyGame

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

Emulation with qemu

Installed qemu with

yum install qemu

Got the the latest image, and followed instructions on Emulating_the_XO/Quick_Start/Linux