6.21. Glib-2.28.8

The GLib package contains a low-level core library. This is useful for providing data structure handling for C, portability wrappers and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.

Approximate build time: 1.3 SBU
Required disk space: 157 MB

6.21.1. Installation of Glib

Prepare Glib for compilation:

PCRE_LIBS="-L/usr/lib -lpcre" PCRE_CFLAGS="-I/usr/include" \
./configure --prefix=/usr --sysconfdir=/etc --with-pcre=system

The meaning of the configure options:


This parameter causes the build to use a system-provided version of the PCRE library instead of an internal version.

Compile the package:


Due to dependencies on additional Perl modules and other packages not yet present (e.g. desktop-file-utils and DBus), it is not possible to run Glib's test suite.

Install the package:

make install

6.21.2. Contents of Glib

Installed programs: gio-querymodules, glib-genmarshal, glib-gettextize, glib-mkenums, gobject-query, gtester and gtester-report
Installed libraries: libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so, libgobject-2.0.so, and libgthread-2.0.so
Installed directories: /usr/include/{gio-unix-2.0/gio,glib-2.0/{gio,glib,gobject}}, /usr/lib/{gio/modules,glib-2.0/include}, /usr/share/{gdb/auto-load,glib-2.0/{gdb, gettext/po},gtk-doc/html/{gio,glib,gobject}}

Short Descriptions


is a C code marshaller generation utility for GLib closures.


is a variant of the gettext internationalization utility.


is a C language enum description generation utility.


Is a small utility that draws a tree of types.


Is a test running utility.


Is a test report formatting utility.

Glib libraries

contain a general purpose low-level core library.