Re: [exim] Test suite on OSX

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ian Eiloart
Ημερομηνία:  
Προς: John Jetmore
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Test suite on OSX


--On 12 January 2007 07:40:17 -0600 John Jetmore <jj33@???> wrote:

> On Thu, 11 Jan 2007, Ian Eiloart wrote:
>
>> Anyway, it fails to compile, with errors like this:
>>
>> > gcc -g -O2 -o bin/fakens src/fakens.c
>> > src/fakens.c:118: error: 'T_A' undeclared here (not in a function)
>> > src/fakens.c:119: error: 'T_NS' undeclared here (not in a function)
>> > src/fakens.c:120: error: 'T_CNAME' undeclared here (not in a function)
>
> My notes for the testsuite have this comment:
>
> 20060405
> starting at least in the 4.61 testsuite, CFLAGS needs to include
> -DBIND_8_COMPAT (edit Makefile after configure)
>
> That's for 10.3.9, so it may be different, but your output looks familiar.
>
> --John


Ah, that's just what I needed. Thanks!

    ./configure CFLAGS='-DBIND_8_COMPAT -g -O2'
    make all


seems to do the job nicely. And, adding:
    configure.args-append CFLAGS='-DBIND_8_COMPAT -g -O2'
to my MacPorts Portfile makes it build properly!




--
Ian Eiloart
IT Services, University of Sussex