Zlib issues
Brought to you by:
hvhaugwitz,
rvdb
I'm not sure if this is actually a bug, I spent some time on it but ultimately decided to move on because it wasn't that important.
Whenever I compile it with '--with-zlib=/usr/local' (zlib 1.2.3) I always end up with this error:
Gzipheader found inside uncompressed db!
The DB is actually compressed, so I'm not sure why I get this error. This is with aide 0.14.
This is indeed a bug in the configure of aide 0.14, which I will fix when cvs gets back up. However, you are using configure wrong. What you should have done is:
LDFLAGS=-L/usr/local CPPFLAGS=-I/usr/local/include ./configure --with-zlib
But since --with-zlib has a bug (as you found out) and is the default anyway, you can simply use:
LDFLAGS=-L/usr/local CPPFLAGS=-I/usr/local/include ./configure
Let me know if that works for you.
On second look there is no bug in the aide configure script. You just need to use LDFLAGS and CPPFLAGS. Since --with-zlib is the default, only --with-zlib=no or --without-zlib makes sense.