Introduction to libgsf
The libgsf package contains a library used for providing an extensible input/output abstraction layer for structured file formats.
Note
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Package Information
libgsf Dependencies
Required
GLib-2.78.3 and libxml2-2.12.4
Recommended
gdk-pixbuf-2.42.10 (To build gsf-office-thumbnailer)
Optional
gobject-introspection-1.78.1 and GTK-Doc-1.33.2
Installation of libgsf
Fix building libgsf against libxml-2.12.x:
sed -e '/tree\.h/i #include <libxml/parser.h>' \
-i gsf/gsf-libxml.h
Install libgsf by running the following commands:
./configure --prefix=/usr --disable-static &&
make
To test the results, issue: make check. Two tests, t1004-zip-zip64.pl and t1005-zip-nonseekable.pl are known to fail.
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.