Introduction to Gamin

The Gamin package contains a File Alteration Monitor which is useful for notifying applications of changes to the file system. Gamin is compatible with FAM.

This package is known to build using an LFS 7.4 platform but has not been tested.

Package Information

Gamin Dependencies





User Notes:

Installation of Gamin

Install Gamin by running the following commands:

sed -i 's/G_CONST_RETURN/const/' server/gam_{node,subscription}.{c,h} &&
./configure --prefix=/usr --libexecdir=/usr/sbin --disable-static &&

To test the results, issue: make check. Note that some tests may display errors.

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/gamin-0.1.10 &&
install -v -m644 doc/*.{html,fig,gif,txt} /usr/share/doc/gamin-0.1.10

Command Explanations

sed -i 's/G_CONST_RETURN/const/' server/gam_{node,subscription}.{c,h}: This sed fixes compiling with Glib 2.32 or greater installed.

--disable-static: This switch prevents installation of static versions of the libraries.

Configuring Gamin

Configuration Information

No configuration is generally required and the default options should work for most users. See for details.


Installed Program: gam_server
Installed Libraries:,, libgamin_shared.a and (if you've installed Python 2)
Installed Directory: /usr/share/doc/gamin-0.1.10

Short Descriptions


is the file alteration monitor daemon that is started on demand for each user.

contains functions that support the file allocation monitor.

contains functions that provide compatibility with FAM.

Last updated on 2013-08-26 10:26:25 -0700