Sugar on Fedora Core 5: Difference between revisions
Jump to navigation
Jump to search
RobertTaylor (talk | contribs) No edit summary |
RobertTaylor (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
==Get dependencies ironed out== |
==Get dependencies ironed out== |
||
<pre> |
<pre> |
||
yum install gnome-common |
|||
yum install gtk2 gtk2-devel (Note: this is libgtk2.0 in Debian distros) |
yum install gtk2 gtk2-devel (Note: this is libgtk2.0 in Debian distros) |
||
Line 31: | Line 31: | ||
</pre> |
</pre> |
||
==Get xulrunner from http://developer.mozilla.org== |
|||
==Install xulrunner (gecko-embed depends on it)== |
|||
<pre> |
|||
tar -xzf xulrunner-1.8.0.1.en-US.linux-i686.tar.gz |
tar -xzf xulrunner-1.8.0.1.en-US.linux-i686.tar.gz |
||
Line 41: | Line 41: | ||
/opt/xulrunner/xulrunner --register-global |
/opt/xulrunner/xulrunner --register-global |
||
</pre> |
|||
⚫ | |||
<pre> |
|||
⚫ | |||
cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co gecko-embed |
cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co gecko-embed |
||
</pre> |
|||
==Build gecko-embed== |
|||
<pre> |
|||
cd gecko-embed |
cd gecko-embed |
||
./autogen.sh |
./autogen.sh |
||
make |
make |
||
make install (as root or use sudo) |
make install (as root or use sudo) |
||
</pre> |
|||
==Get and Install avahi from avahi.org== |
|||
<pre> |
|||
tar -xzf avahi-0.6.11.tar.gz |
tar -xzf avahi-0.6.11.tar.gz |
||
./autogen.sh |
./autogen.sh |
||
</pre> |
|||
==Build Sugar== |
|||
<pre> |
|||
cd sugar--devel |
cd sugar--devel |
||
./autogen.sh |
./autogen.sh |
||
make |
make |
||
</pre> |
|||
==Run Sugar== |
|||
<pre> |
|||
avahi-daemon -D (may already be running) |
avahi-daemon -D (may already be running) |
||
Line 75: | Line 74: | ||
Note: Sugar does not run, but throws: ImportError: No moduled named avahi |
Note: Sugar does not run, but throws: ImportError: No moduled named avahi |
||
</pre> |
|||
NOTES: |
NOTES: |
Revision as of 17:13, 28 June 2006
Note: This is a work in progress. It is not complete, due to Python not being able to see several modules required by Sugar. If you have experience with Python environment configuration, please edit this page!
Get and install mercurial
su - rpm -i mercurial-0.9-1.fc5.i386.rpm (*see below)
Get Sugar from repository
hg clone http://hg.fedoraproject.org/hg/olpc/applications/sugar--devel
Get dependencies ironed out
yum install gnome-common yum install gtk2 gtk2-devel (Note: this is libgtk2.0 in Debian distros) yum install libstdc++ (which pulled multiple dependencies of its own!) yum install libstdc++.so.5 (even though libstdc++.so.6 existed!) yum install avahi yum install avahi-qt3 yum install dbus
Create symbolic link for libstdc++
ln -s /usr/local/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5
Get xulrunner from http://developer.mozilla.org
Install xulrunner (gecko-embed depends on it)
tar -xzf xulrunner-1.8.0.1.en-US.linux-i686.tar.gz (they recommend untarring to /opt/xulrunner/1.8.0.1, I used /opt/xulrunner) /opt/xulrunner/xulrunner --register-global
Install gecko-embed from cvs
cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co gecko-embed
Build gecko-embed
cd gecko-embed ./autogen.sh make make install (as root or use sudo)
Get and Install avahi from avahi.org
tar -xzf avahi-0.6.11.tar.gz ./autogen.sh
Build Sugar
cd sugar--devel ./autogen.sh make
Run Sugar
avahi-daemon -D (may already be running) ./sugar/sugar Note: Sugar does not run, but throws: ImportError: No moduled named avahi
NOTES:
* Path will be dependent upon where you saved the RPMs to, i.e., if you saved to the desktop, your path might be /home/<username>/Desktop/<rpm package name>