Issues building on Fedora 8...

Michael Breuer <[email protected]> Sun, 06 Apr 2008 16:31:20 -0400
Newsgroups gmane.mail.spam.spf.devel
Message-ID <[email protected]>
Ok, maybe I'm brain dead... just tried installing libspf2 1.2.5 and
spfmilter 1.0.8 on a Fedora 8 machine.

libspf2 builds and installs OK.

When I try to build and install spfmilter, the configure fails on an
undefined reference to SPF_destroy_config.

The following issues seem to be in libspf2:

1. missing includes for <netinet/ip.h> and <netinet/ip6.h>:
/usr/include/spf2/spf_request.h:29: error: field 'ipv4' has incomplete type
/usr/include/spf2/spf_request.h:30: error: field 'ipv6' has incomplete type

2. /usr/include/spf2/spf_server.h:23:30: error: spf_dns_internal.h: No 
Such file or directory

Fixed by removing inclusion of spf_dns_internal.h from spf_server.h

When I correct those errors, I then get (again, spfmilter configure
step)... from config.log:
spfmilter-1.0.8/conftest.c:57: undefined reference to SPF_destroy_config

When I tried digging further, I noted that the definition of
SPF_config_t was missing.

Still digging, but perhaps someone already has a fix?