Re: [exim] Failure to build 4.52

Pàgina inicial
Delete this message
Reply to this message
Autor: Greg Louis
Data:  
A: exim-users
Assumpte: Re: [exim] Failure to build 4.52
On 20050702 (Sat) at 1048:38 +0100, jpff@??? wrote:
> I know I am behind in mail but I tried to build 4.52 and got
>
> gcc spf.c
> spf.c: In function `spf_open':
> spf.c:36: `SPF_server_t' undeclared (first use in this function)
> spf.c:36: (Each undeclared identifier is reported only once
> spf.c:36: for each function it appears in.)
> spf.c:36: `spf_server' undeclared (first use in this function)
> spf.c:36: invalid lvalue in assignment
> spf.c:37: `SPF_DNS_CACHE' undeclared (first use in this function)
> spf.c: In function `spf_close':
> spf.c:46: `SPF_server_t' undeclared (first use in this function)
> spf.c:46: `spf_server' undeclared (first use in this function)
> spf.c:46: invalid lvalue in assignment
> spf.c: In function `spf_find':
> spf.c:52: `SPF_server_t' undeclared (first use in this function)
> spf.c:52: `spf_server' undeclared (first use in this function)
> spf.c:52: invalid lvalue in assignment
> spf.c:53: `SPF_request_t' undeclared (first use in this function)
> spf.c:53: `spf_request' undeclared (first use in this function)
> spf.c:53: invalid lvalue in assignment
> spf.c:54: `SPF_response_t' undeclared (first use in this function)
> spf.c:54: `spf_response' undeclared (first use in this function)
> spf.c:54: invalid lvalue in assignment
> make[2]: *** [spf.o] Error 1
>
> I sassume this means that the spf headers are out of date? The file
> seems to be
> 33476 Sep 27 2004 /usr/local/include/spf2/spf.h
>

I got the same, and worked round it by installing libspf2-1.2.5. This
is beta code, or rather worse than that: for example, spf2/spr_server.h
#includes a nonexistent "spf_dns_internal.h", and the spfd daemon is
undocumented except for a list of options (with no explanations)
presented in response to "spfd --help". Fortunately, the #include can
just be commented out, and the query code works fine with the Perl
versions of spfd.

--
| G r e g  L o u i s         | gpg public key: 0x400B1AA86D9E3E64 |
|  http://www.bgl.nu/~glouis |   (on my website or any keyserver) |
|  http://wecanstopspam.org in signatures helps fight junk email. |