Sugar on Ubuntu: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
I've installed sugar on Ubuntu Dapper on i686 and I hope this description will be useful for someone. |
I've installed today sugar on Ubuntu Dapper on i686 and I hope this description will be useful for someone. |
||
I have installed everything under $HOME/olpc/ directory, root privilages are required only for apt-get. |
|||
Feel free to make changes on this page. [[User:Marcin|Marcin]] |
Feel free to make changes on this page. [[User:Marcin|Marcin]] 13:07, 2 June 2006 (EDT) |
||
== apt-get == |
|||
First, you |
|||
You need to have installed a number of packages from Ubuntu Dapper repositiories. |
|||
libidl-dev, gnome-common, gtk-doc-tools, avahi-utils(?), ... and others. |
|||
== xulrunner == |
|||
xulrunner is packaged in Debian, but not in Ubuntu yet. I got it from repository, but perhaps a tarball is a better choice. |
|||
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot login |
|||
(password: anonymous) |
|||
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_8_BRANCH mozilla/client.mk |
|||
cd mozilla/ |
|||
make -f client.mk checkout MOZ_CO_PROJECT=xulrunner |
|||
Create mozconfig file: |
|||
. $topsrcdir/xulrunner/config/mozconfig |
|||
mk_add_options MOZ_OBJDIR=@topsrcdir@/obj-xulrunner |
|||
ac_add_options --disable-debug |
|||
ac_add_options --disable-tests |
|||
ac_add_options --disable-javaxpcom |
|||
ac_add_options --prefix=$HOME/olpc/local |
|||
And make MOZCONFIG point to it: |
|||
export MOZCONFIG=$HOME/olpc/mozilla/.mozconfig |
|||
Now you can compile xulrunner: |
|||
cd mozilla |
|||
make -f client.mk build |
|||
make -f client.mk install |
|||
I prefer to keep everything in one place than to put it into eg. /usr/local/ or /usr/lib/python..., |
|||
so I set a few variables to make next steps easier: |
|||
export PYTHONPATH=$HOME/olpc/local/lib/python2.4/site-packages |
|||
export LD_LIBRARY_PATH=$HOME/olpc/local/lib |
|||
export PATH=$HOME/olpc/local/bin:$PATH |
|||
export PKG_CONFIG_PATH=$HOME/olpc/local/lib/pkgconfig/ |
Revision as of 17:07, 2 June 2006
I've installed today sugar on Ubuntu Dapper on i686 and I hope this description will be useful for someone. I have installed everything under $HOME/olpc/ directory, root privilages are required only for apt-get. Feel free to make changes on this page. Marcin 13:07, 2 June 2006 (EDT)
apt-get
You need to have installed a number of packages from Ubuntu Dapper repositiories. libidl-dev, gnome-common, gtk-doc-tools, avahi-utils(?), ... and others.
xulrunner
xulrunner is packaged in Debian, but not in Ubuntu yet. I got it from repository, but perhaps a tarball is a better choice.
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot login (password: anonymous) cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_8_BRANCH mozilla/client.mk cd mozilla/ make -f client.mk checkout MOZ_CO_PROJECT=xulrunner
Create mozconfig file:
. $topsrcdir/xulrunner/config/mozconfig mk_add_options MOZ_OBJDIR=@topsrcdir@/obj-xulrunner ac_add_options --disable-debug ac_add_options --disable-tests ac_add_options --disable-javaxpcom ac_add_options --prefix=$HOME/olpc/local
And make MOZCONFIG point to it:
export MOZCONFIG=$HOME/olpc/mozilla/.mozconfig
Now you can compile xulrunner:
cd mozilla make -f client.mk build make -f client.mk install
I prefer to keep everything in one place than to put it into eg. /usr/local/ or /usr/lib/python..., so I set a few variables to make next steps easier:
export PYTHONPATH=$HOME/olpc/local/lib/python2.4/site-packages export LD_LIBRARY_PATH=$HOME/olpc/local/lib export PATH=$HOME/olpc/local/bin:$PATH export PKG_CONFIG_PATH=$HOME/olpc/local/lib/pkgconfig/