Re: [Exim] exim 4.02 and perl 5.6.1 compilation problem

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Bernard Stern
CC: exim-users
Assunto: Re: [Exim] exim 4.02 and perl 5.6.1 compilation problem
On Thu, 4 Apr 2002, Bernard Stern wrote:

> On my test server, I just dowloaded exim 4.02. On this server, I also have
> perl 5.6.1. Until now, all my exims (3.x) had been compiled with perl 5.6.0,
> without ever a single problem. Thus my question: has exim 4.02 been compiled
> with perl 5.6.1 support (probably yes), in which case I'm down for a
> debugging round.


I have it compiled with 5.6.1 under Solaris 8, and it runs my test
script OK.

> This is where the compilation stops:
>
> gcc -D_REENTRANT -fno-strict-aliasing -I/usr/pack/perl-5.6.1-bs/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/pack/perl-5.6.1-bs/lib/5.6.1/sun4-solaris-thread/CORE -c perl.c
> In file included from exim.h:325,
>                  from perl.c:15:
> structs.h:496: `MAX_NAMED_LIST' undeclared here (not in a function)


That's an Exim header that is nothing to do with Perl. The very first
line in perl.c is #include "exim.h".

Did it compile other modules previously? Because if so, this is really
weird. All Exim modules include exim.h.

MAX_NAMED_LIST should end up being defined in config.h, which is built
as part of the building process. Start by checking that.

Philip

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.