Hugo Monteiro wrote:
>> *No idea why configure doesn't complain about zlib anymore after
>> installing libldap2-dev.
>>   
> When you say you want --enable-external-lookup you are including LDAP
> support.
My apologies, I was a bit confused. I could reproduce the error I found
earlier. The problem is that the configure script doesn't check for the
required ldap headers.

$ ./configure --enable-daemon --enable-external-lookup --enable-clamav
--enable-debug --enable-syslog --enable-preferences-extension
--enable-long-usernames --enable-virtual-users
--with-mysql-includes=/usr/include/mysql/ --enable-verbose-debug
[snip]
$ make
[snip]
gcc -DHAVE_CONFIG_H -DLOGDIR=\"/usr/local/var/dspam/log\"
-DCONFDIR=\"/usr/local/etc\"
-DCONFIG_DEFAULT=\"/usr/local/etc/dspam.conf\" -D_THREAD_SAFE
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I. -g -O2 -Wall
-Wmissing-prototypes -Wmissing-declarations -MT external_lookup.lo -MD
-MP -MF .deps/external_lookup.Tpo -c external_lookup.c  -fPIC -DPIC -o
.libs/external_lookup.o
external_lookup.c:48:18: error: ldap.h: No such file or directory
external_lookup.c: In function 'ldap_lookup':
external_lookup.c:148: error: 'LDAP' undeclared (first use in this function)

> 
> As for zlib, it's used by the mysql driver for some time now. But i also
> have no idea why does it stop complaining about zlib if you install
> libldap2-dev. It's not even a dependency for that package.

This symptom remains a bit strange, though not very important. :)

Also I might have found the reason for the statistics going a bit crazy.
I was using the snapshot functionality of dspam_stats, and was
monitoring the statistics from some point in time. After upgrading this
date of snapshot seems to have been reset, so that I'm seeing the data
since the beginning (=totals, even when running dspam_stats -s).

I know that in the beginning the user had alot of false positives etc,
so that would explain the odd stats.

Can anyone tell me where dspam_stats keeps it's data when taking a
snapshot? I guess this location is not the same between the original
debian package and the one I installed manually.

Sorry for all the fuzz.

Alexander

!DSPAM:1011,4838a52c150926730914339!


Reply via email to