Gtkmm-2.24.4

Introduction to Gtkmm

The Gtkmm package provides a C++ interface to GTK+ 2. It can be installed alongside Gtkmm-3.20.1 (the GTK+ 3 version) with no namespace conflicts.

This package is known to build and work properly using an LFS-7.10 platform.

Package Information

Gtkmm Dependencies

Required

Atkmm-2.24.2, GTK+-2.24.30 and Pangomm-2.40.1

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gtkmm2

Installation of Gtkmm

First, fix the documents directory name:

sed -e '/^libdocdir =/ s/$(book_name)/gtkmm-2.24.4/' \
    -i docs/Makefile.in

Install Gtkmm by running the following commands:

CXXFLAGS="-g -O2 -std=c++11" ./configure --prefix=/usr &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

CXXFLAGS="-g -O2 -std=c++11" ./configure...: while Gtkmm-2.24.4 has not yet been ported to the 2011 ISO C++ standard, all its dependencies have. -std=c++11 has to be used as an option to g++. We pass it into CXXFLAGS together with the default options.

Contents

Installed Programs: None
Installed Libraries: libgdkmm-2.4.so and libgtkmm-2.4.so
Installed Directories: /usr/include/gdkmm-2.4, /usr/include/gtkmm-2.4, /usr/lib/gdkmm-2.4, /usr/lib/gtkmm-2.4, and /usr/share/{devhelp/books/gtkmm-2.4,doc/gtkmm-2.24.4}

Short Descriptions

libgdkmm-2.4.so

contains the GDK API classes.

libgtkmm-2.4.so

contains the GTK+ API classes.

Last updated on 2016-08-29 23:02:26 -0700