Development Team/Jhbuild: Difference between revisions
Sascha silbe (talk | contribs) →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 === | ||
''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]. | |||
Some tips: | |||
* 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. | ||
* | * 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 | |||
==== 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]. | ||
==Run Sugar== | ==Run Sugar== | ||