Mobile/Build/Maemo Build Instructions: Difference between revisions

Line 3: Line 3:
These instructions are for setting a new scratchbox installation.  If you have an existing (i.e. 3.2/bora) scratchbox installation, you'll have to set an alternate path for the installation.  
These instructions are for setting a new scratchbox installation.  If 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.  This essentially let's you pretend you're not cross compiling.  To set it up, Nokia has written a very useful script
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.
 
=== Debian-based Linux distributions ===
Scratchbox will be installed per default from Debian .deb packages, to default path /scratchbox.


<code><pre>
<code><pre>
wget http://repository.maemo.org/stable/chinook/maemo-scratchbox-install_4.0.sh
wget http://repository.maemo.org/stable/chinook/maemo-scratchbox-install_4.0.sh
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
sudo /scratchbox/sbin/sbox_adduser <your_user_name> yes
</pre>
</code>
=== Other Linux distributions ===
On any other Linux distribution, the install will use .tar.gz files and you will have to specify the desired destination directory.
<code><pre>
wget http://repository.maemo.org/stable/chinook/maemo-scratchbox-install_4.0.sh
sudo chmod a+x ./maemo-scratchbox-install_4.0.sh -s /scratchbox
sudo ./maemo-scratchbox-install_4.0.sh
sudo ./maemo-scratchbox-install_4.0.sh
sudo /scratchbox/sbin/sbox_adduser <your_user_name> yes
sudo /scratchbox/sbin/sbox_adduser <your_user_name> yes
7

edits