Mobile/Build/Maemo Build Instructions: Difference between revisions

Jump to navigation Jump to search
Make it a little clearer what Scratchbox is before we diving into the installation instructions.
(Note Ubuntu Hardy Heron problems)
(Make it a little clearer what Scratchbox is before we diving into the installation instructions.)
Line 1: Line 1:
==Setting Up Scratchbox==
==Setting Up Scratchbox==


These instructions are for setting a new scratchbox installationIf you have an existing (i.e. 3.2/bora) scratchbox installation, you'll have to set an alternate path for the installation.  
The maemo SDK is based around a tool called scratchbox.  Scratchbox is a sandboxed emulator that you run on a fast development machine to configure, compile and run (test) the binaries that are to be installed on a target mobile device. It eliminates a lot of the difficulties associated with traditional cross compilation by essentially letting you pretend you're not cross compiling.  To set it up, Nokia has written a very useful script called maemo-scratchbox-install.


The maemo SDK is based around a tool called scratchbox.  This essentially let's you pretend you're not cross compiling.  To set it up, Nokia has written a very useful script called maemo-scratchbox-install.
These instructions are for setting up a new scratchbox installationIf you have an existing (i.e. 3.2/bora) scratchbox installation, you'll have to set an alternate path for the installation.


=== Debian-based Linux distributions ===
=== Debian-based Linux distributions ===
['''Question''': Does this still work using [http://repository.maemo.org/stable/chinook/maemo-scratchbox-install_4.0.1.sh maemo-scratchbox-install_4.0.1.sh]?
'''Answer''': Yes it still works]


Scratchbox will be installed per default from Debian .deb packages, to default path /scratchbox.
Scratchbox will be installed by default from Debian .deb packages to the path /scratchbox


<code><pre>
<code><pre>
Line 15: Line 13:
sudo chmod a+x ./maemo-scratchbox-install_4.0.1.sh
sudo chmod a+x ./maemo-scratchbox-install_4.0.1.sh
sudo ./maemo-scratchbox-install_4.0.1.sh
sudo ./maemo-scratchbox-install_4.0.1.sh
sudo /scratchbox/sbin/sbox_adduser <your_user_name> yes
sudo /scratchbox/sbin/sbox_adduser $USER yes
</pre>
</pre>
</code>
</code>
Replace $USER with an explicit user name if you want to create a scratchbox login for a user other than the current user.


=== Other Linux distributions ===
=== Other Linux distributions ===
Line 26: Line 26:
sudo chmod a+x ./maemo-scratchbox-install_4.0.sh
sudo chmod a+x ./maemo-scratchbox-install_4.0.sh
sudo ./maemo-scratchbox-install_4.0.sh  -s /scratchbox
sudo ./maemo-scratchbox-install_4.0.sh  -s /scratchbox
sudo /scratchbox/sbin/sbox_adduser <your_user_name> yes
sudo /scratchbox/sbin/sbox_adduser $USER yes
</pre>
</pre>
</code>
</code>
Again, replace $USER with an alternative user name if you like.


==Setting Up Maemo Chinook SDK==
==Setting Up Maemo Chinook SDK==
Confirmed users, Bureaucrats and Sysops emeriti
969

edits

Navigation menu