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.
Download (HTTP): http://www.gnome.org/~veillard/gamin/sources/gamin-0.1.10.tar.gz
Download (FTP): ftp://mirror.ovh.net/gentoo-distfiles/distfiles/gamin-0.1.10.tar.gz
Download MD5 sum: b4ec549e57da470c04edd5ec2876a028
Download size: 639 KB
Estimated disk space required: 6.7 MB
Estimated build time: 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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 && make
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
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.
No configuration is generally required and the default options should work for most users. See http://www.gnome.org/~veillard/gamin/config.html for details.
Last updated on 2013-08-26 10:26:25 -0700