Hi,

As reported by bug#307086[0], spfmilter fails to build from source.  I
found that the real reason of the build failure is that there is a
header file missing from libspf2-dev, as reported by bug#312145[1].
spf_dns_internal.h is not installed by libspf2-dev, which caused the
spfmilter configure script not able to find the spf2 library, which
further causes function not declared (when compiling) and not defined
(when linking).

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=307086
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312145

I tried to work around the problem by manually installing
spf_dns_internal.s to /usr/include/spf2 and other hacks, such as add
"#include <netinet/in.h>" to spf2/spf.h.  Finally, I found that,
apparently, support for spf2 version 1.2.x is not added to spfmilter
yet.  Upstream author acknowledges spfmilter does not work with libspf2
1.2.5[2].

[2] http://www.acme.com/software/spfmilter/

As spfmilter supports both spf and spf2, I think rebuild it with spf
should be tried.

regards,
qingning

Attachment: signature.asc
Description: Digital signature

Reply via email to