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.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/glib/2.10/glib-2.10.3.tar.bz2
Download (FTP): ftp://ftp.gtk.org/pub/glib/2.10/glib-2.10.3.tar.bz2
Download MD5 sum: 87206e721c12d185d17dd9ecd7e30369
Download size: 2.7 MB
Estimated disk space required: 48.4 MB
Estimated build time: 0.5 SBU (additional 1.4 SBU to run the test suite)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/glib2
Install GLib by running the following commands:
./configure --prefix=/usr && make
To test the results, issue: make check.
Now, as the root user:
make install
--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild the API documentation.
By default, GLib assumes that all filenames are in the UTF-8 charset. See the Wrong Filename Encoding section of the Locale Related Issues page for more details on this kind of issue. In order to tell GLib and applications that use it that filenames are in the default locale encoding, set the variable G_FILENAME_ENCODING to the value "@locale":
cat > /etc/profile.d/glib2-locale.sh << "EOF" # Use the current locale charset for filenames # in applications using GLib export G_FILENAME_ENCODING=@locale EOF
Last updated on 2007-02-02 05:00:08 -0600