Changes

Jump to navigation Jump to search
1,184 bytes removed ,  09:30, 14 March 2009
→‎Dealing with dependencies: sugar-jhbuild depscheck should be the primary means of getting a list of dependencies now
Line 34: Line 34:  
=== Dealing with dependencies ===
 
=== Dealing with dependencies ===
   −
At some point during running ''sugar-jhbuild update'' or ''sugar-jhbuild build'' you may be interrupted by an error listing some dependencies you don't have. The build will pause, and you'll see, among the text on your screen, something like this:
+
''sugar-jhbuild depscheck'' will print a list of required packages. They are part of the distribution you're using and should be installed using your favourite package manager (e.g. aptitude/synaptic for Debian, yum for Fedora).
 +
If you notice that there's a package missing from the depscheck output (i.e. it's required for Sugar to work properly and not installed, but depscheck does not mention it), please [http://dev.sugarlabs.org/newticket?component=sugar-jhbuild&version=Git%20as%20of%20bugdate&type=defect&summary=Need%20package%20%3cinsert%20name%20of%20package%3e%20on%20%3cinsert%20name%20of%20distribution%3e&description=%3cplease%20explain%20why%20you%20think%20the%20package%20is%20required%20%28e.g.%20error%20message%29%3e file a bug] (login required first, but currently no automatic redirection to login page) against the sugar-jhbuild Component in the [http://dev.sugarlabs.org/ SugarLabs bug tracker].
   −
No package '<packagename>' found
+
Some tips:
 
  −
Usually this means it's looking for the <packagename>-dev. Install that package. (For instance, to fix a "No package 'libsoup2.4' found" error, you'd install libsoup2.4-dev.
  −
 
  −
If that doesn't work, here are some further notes:
  −
 
  −
* If you're given a list of packages that aren't installed, simply install them according to your distribution's package manager (yum, apt-get, etc.) and then try re-running the sugar-jhbuild command again.
  −
* For the base packages, you may be able to use the binary packages from your GNU distribution instead of building them from scratch. Check the [[:Category:Installing Sugar|Installing]] or [[:Category:Linux distributions|Linux]] categories for specific distro info.
   
* You may have some issues with penguintv on ubuntu, just interrupt the pull with a CTRL+C, open a shell, repeat the command manually, and accept the certificate permanently.
 
* You may have some issues with penguintv on ubuntu, just interrupt the pull with a CTRL+C, open a shell, repeat the command manually, and accept the certificate permanently.
* One other fix that I had to do was to export GTK2_RC_FILES=~/src/olpc/sugar-jhbuild/build/share/themes/sugar/gtk-2.0/gtkrc
+
* hulahop stopped building because I had installed a more recent version of xulrunner on my machine. The workaround was to <code>rm -rf ~/sugar-jhbuild/source/hulahop</code> and then run update and build again.
and also symlink build/share/icons/sugar to build/share/icons/hicolor.  These two steps may not be necessary, but they made things work on my Ubuntu installation as of March 31, 2008. [[User:Blaketh|Blaketh]] 03:08, 31 March 2008 (EDT)
     −
* hulahop stopped building because I had installed a more recent version of xulrunner on my machine. The workaround was to <code>rm -rf ~/sugar-jhbuild/source/hulahop</code> and then run update and build again.
   
==== Debian ====
 
==== Debian ====
On Debian-based distros, you can use this invocation to install all dependencies:
+
On Debian-based distros, you can use this invocation to install all dependencies automatically:
    
  ./sugar-jhbuild depscheck -s | sudo xargs aptitude -y install
 
  ./sugar-jhbuild depscheck -s | sudo xargs aptitude -y install
Line 57: Line 49:     
Fedora dependencies (to be installed before going through the jhbuild process) are [http://wiki.laptop.org/go/Sugar_on_Fedora#Step_1:_Install_the_build_prerequisites listed here].
 
Fedora dependencies (to be installed before going through the jhbuild process) are [http://wiki.laptop.org/go/Sugar_on_Fedora#Step_1:_Install_the_build_prerequisites listed here].
  −
==== Ubuntu ====
  −
  −
Ubuntu dependencies are (at least):
  −
  −
python2.5-dev
  −
  −
python-gnome2-dev
  −
  −
python-gnome2-desktop-dev
  −
  −
libgnomecups1.0-dev
  −
  −
intltool
  −
  −
libtool
  −
  −
python-dev g++
  −
  −
libgtk2.0-dev
  −
  −
python-gtk2-dev
  −
  −
python-cairo-dev
  −
  −
libcroco3-dev
  −
  −
libgsf-1-dev
  −
  −
libenchant-dev
  −
  −
libfribidi-dev
  −
  −
libboost-dev
  −
  −
libxt-dev
  −
  −
libexpat1-dev
  −
  −
gettext
  −
  −
libwv-dev
  −
  −
zlib1g-dev
  −
  −
gnome-common
  −
  −
python-numpy
  −
  −
libwnck-dev
  −
  −
xserver-xephyr
  −
  −
librsvg2-dev
  −
  −
python-cjson
  −
  −
gtk-doc-tools
  −
  −
libglade2-dev
  −
  −
libidl-dev
  −
  −
libgconf2-dev
  −
  −
libgnomevfs2-dev
  −
  −
libpoppler-glib-dev
  −
  −
icon-naming-utils
  −
  −
icon-slicer
  −
  −
libasound2-dev
  −
  −
python-xapian
  −
  −
libxapian15
  −
  −
libdbus-1-dev
  −
  −
libdbus-glib-1-dev
  −
  −
libloudmouth1-dev
  −
  −
libavahi-gobject-dev
  −
  −
python-avahi
  −
  −
libpoppler-dev
  −
  −
xulrunner-dev
  −
  −
automake1.10
      
==Run Sugar==
 
==Run Sugar==
344

edits

Navigation menu