Re: [exim-dev] Candidate for 4.52 release -- make failure, "…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: OpenMacNews
Date:  
À: exim-dev
CC: Philip Hazel
Sujet: Re: [exim-dev] Candidate for 4.52 release -- make failure, "No ruleto make target `lookups/lookups.a', needed by `exim'"
hi philip,

>> tho, next 'make' failure is:
>>
>>    ...


> Only warnings, so probably OK. The X11 code is ancient. One of these
> days eximon should be rewritten to use a modern toolkit. Here is a
> comment from OS/Makefile-Default:
>
># A modified version of the Athena TextPop module is supplied with Exim. The
># modification is to remove the "replace" part of the "search and replace"
># operation because it isn't wanted. TextPop is only one of a number of
># modules that make up the Text widget. Some antique link editors cannot handle
># the case of a replacement module for one of a set of modules. To allow
># the monitor to be linked in such cases, set the value of EXIMON_TEXTPOP
># to be empty. The search operations will then contain a useless "replace"
># option, which is untidy, but does no harm.
>
> EXIMON_TEXTPOP=em_TextPop.o


thx.

>>    cc dnsdb.c
>>    dnsdb.c:45: error: 'T_A' undeclared here (not in a function)
>>    dnsdb.c:52: error: 'T_CNAME' undeclared here (not in a function)
>>    dnsdb.c:54: error: 'T_MX' undeclared here (not in a function)
>>    dnsdb.c:56: error: 'T_NS' undeclared here (not in a function)
>>    dnsdb.c:57: error: 'T_PTR' undeclared here (not in a function)

>
> Something needs including to get these macros. On my Linux box these
> values are defined in
>
> /usr/include/arpa/nameser_compat.h:
>
> which is included by
>
> /usr/include/arpa/nameser.h


hmmm ... this 'smells' like OSX's BIND_8_COMPAT 'nightmare' again ... do _note_
that OSX Tiger's (v >= 10.4) native resolver is now:

% /usr/sbin/named -v
    BIND 9.2.2



from OSX's "/usr/include/arpa/nameser.h"

    ...
    #ifndef _NAMESER_9_H_
    #define _NAMESER_9_H_


    #ifdef BIND_8_COMPAT
    #include <arpa/nameser8_compat.h>
    #else


    #include <sys/param.h>
    #if (!defined(BSD)) || (BSD < 199306)
    # include <sys/bitypes.h>
    ...


% cd /usr/include
% grep T_CNAME `grep -rln T_CNAME .`
    ./arpa/nameser8_compat.h:#define T_CNAME    5   /* canonical name */
    ./arpa/nameser_compat.h:#define T_CNAME     ns_t_cname
    ./nameser8_compat.h:#define T_CNAME         5   /* canonical name */


% cd /usr/ports/exim/exim-snapshot
% grep BIND_8_COMPAT `grep -rln BIND_8_COMPAT .`
    ./build-Darwin-powerpc/Makefile:CFLAGS=-O -no-cpp-precomp -DBIND_8_COMPAT
    ./doc/ChangeLog:27. Added -DBIND_8_COMPAT to the CLFAGS setting for Darwin.
    ./OS/Makefile-Darwin:CFLAGS=-O -no-cpp-precomp -DBIND_8_COMPAT



richard