Download LoggerFS (the latest version as of this writing is 0.5) from the LoggerFS SourceForge Page.
Compilation and installation should be familiar to those with prior Linux experience. Be sure to include the proper flags for configure; you'll need to use --with-mysql for MySQL support, but if you wish you can also specific --with-postgresql for PostgreSQL support:
[root@localhost ~] # tar -xvzf loggerfs-0.5.tar.gz
loggerfs-0.5/
loggerfs-0.5/conf/
...
loggerfs-0.5/src/general.cpp
loggerfs-0.5/src/general.hpp
loggerfs-0.5/src/fusexx.hpp
[root@localhost ~] # cd loggerfs-0.5
[root@localhost loggerfs-0.5] # ./configure --with-mysql --prefix=/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
...
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
[root@localhost loggerfs-0.5] # make && make install
make all-recursive
make[1]: Entering directory `/root/loggerfs-0.5'
Making all in src
make[2]: Entering directory `/root/loggerfs-0.5/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/include -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -Wall -O3 `pkg-config fuse --cflags` `xml2-config --cflags` -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT loggerfs-main.o -MD -MP -MF .deps/loggerfs-main.Tpo -c -o loggerfs-main.o `test -f 'main.cpp' || echo './'`main.cpp
...
Unable to compile? Make sure you've installed the mysql, boost-devel, gcc, and libxml2-devel packages.
If you encounter further errors in your installation, see the Troubleshooting section.
Post new comment