Chapter 2. Installation

Table of Contents

Prebuilt packages

The maemomm packages are available from the extras-devel repository, as are glibmm and gtkmm. Add the following line to your /etc/apt/sources.list in your Scratchbox environment, or on your device, to use the extras-devel repository.

[Note] Note

Note that this example is for the Maemo 5.0 Fremantle version. Do not add this line to your sources.list on your normal desktop environment.

# deb http://repository.maemo.org/extras-devel/ fremantle free non-free
# deb-src http://repository.maemo.org/extras-devel/ fremantle free non-free

For older versions of the Maemo platform, you must change the fremantle to something appropriate.

Once you have added these lines to your /etc/apt/sources.list file, type the following commands into a terminal, to install the maemomm packages

# fakeroot apt-get update
# fakeroot apt-get install libhildonmm-dev libhildon-fmmm-dev libhildonnotifymm-dev

You can install additional packages such as maemomm-booster, libgconfmm-2.6-dev, or libhildonnotifymm-dev if your application requires them.

To install the complete maemomm environment in the Maemo SDK, type the following command into a terminal, to install a metapackage

# fakeroot apt-get install maemo-cplusplus-env

The corresponding command for usage on the device is

# fakeroot apt-get install maemo-cplusplus-device-env