Introduction to libcroco

The libcroco package contains a standalone CSS2 parsing and manipulation library.

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

Package Information

libcroco Dependencies


GLib-2.46.2 and libxml2-2.9.3



User Notes:

Installation of libcroco

Install libcroco by running the following commands:

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

To execute the test suite, run LD_LIBRARY_PATH=$(pwd)/src/.libs make test. Some tests fail: searching files in wrong location, locale problems (character codes compared to characters), float point numbers not properly rounded to the same number of places are some of the reasons.

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: croco-0.6-config and csslint-0.6
Installed Library:
Installed Directories: /usr/include/libcroco-0.6 and /usr/share/gtk-doc/html/libcroco

Short Descriptions


is a helper script for building with


is used to parse one or more CSS files specified on the command line.

contains the API functions for CSS2 parsing and manipulation.

Last updated on 2015-11-03 07:30:38 -0600