Changes

Jump to navigation Jump to search
m
→‎Build sugar base system and its dependencies: adding instructions on bypassing AM_PATH_PYTHON error
Line 28: Line 28:  
  ./sugar-jhbuild build
 
  ./sugar-jhbuild build
   −
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.
+
=== Dealing with dependencies ===
   −
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.
+
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. Here are some notes that may help you deal with this so you can build correctly.
   −
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
+
* 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.
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:74.73.145.67|74.73.145.67]] 03:07, 31 March 2008 (EDT)
+
* 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.
 +
* If you run into an error during ''sugar-jhbuild build'' that looks something like "aclocal: macro `AM_PATH_PYTHON' required but not defined" try installing or updating your packages for ''autoconf'' and ''automake'' and running ''sugar-jhbuild build'' again. (workedforme on Ubuntu Hardy) [[User:Mchua|Mchua]] 17:10, 15 May 2008 (EDT)
 +
* 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
 +
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)
    
==Run Sugar==
 
==Run Sugar==
Line 135: Line 139:     
[[Category:Installing Sugar]]
 
[[Category:Installing Sugar]]
 +
[[Category:Build system]]
779

edits

Navigation menu