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.12.11.tar.bz2
Download (FTP): ftp://ftp.gtk.org/pub/glib/2.10/glib-2.12.11.tar.bz2
Download MD5 sum: 077a9917b673a9a0bc63f351786dde24
Download size: 2.9 MB
Estimated disk space required: 53 MB
Estimated build time: 0.5 SBU (additional 1.3 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-04-04 21:42:53 +0200