Introduction to GMime

The GMime package contains a set of utilities for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME) as defined by the applicable RFCs. See the GMime web site for the RFCs resourced. This is useful as it provides an API which adheres to the MIME specification as closely as possible while also providing programmers with an extremely easy to use interface to the API functions.

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

Package Information

GMime Dependencies


GLib-2.78.4 and libgpg-error-1.47



DocBook-utils-0.6.14, GPGME-1.23.2, GTK-Doc-1.33.2, libnsl-2.0.1, Vala-0.56.14, and Gtk# (requires Mono)

Installation of GMime

Install GMime by running the following commands:

./configure --prefix=/usr --disable-static &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.


Installed Programs: None
Installed Library:
Installed Directories: /usr/include/gmime-3.0 and /usr/share/gtk-doc/html/gmime-3.0

Short Descriptions

contains API functions used by programs that need to comply to the MIME standards