[Exim] compiling 4.05 vs 4.03

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Volker Augustin
Data:  
Para: exim-users
Asunto: [Exim] compiling 4.05 vs 4.03
hi there,

i downloaded exim 4.05 and unpacked it, then i compared my old 'good
functional' Local/Makefile with the newone and make all entrys the same,
because i see no difference in the Makefiles....

(exim 4.03 is still working fine, but because of the need for an update
to include the local_scan()-patch for spamassassin i think i have to
update to exim 4.05 - the localscanpatch for spamassassin does not work
with 4.03)

now i tried to compile exim, but i run into trouble.....

here is my log:

`Makefile' is up to date.

make[1]: Entering directory `/home/SRC/exim-4.05/build-Linux-i386'
make[2]: Entering directory `/home/SRC/exim-4.05/build-Linux-i386/pcre'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/SRC/exim-4.05/build-Linux-i386/pcre'
gcc -c -O2 -I /home/mysql/include -I /home/pgsql/7.1/include -I
/usr/include/gdbm -I /home/mysql/include -I /home/pgsql/7.1/include
-DCOMPILE_UTILITY -o util-spool_in.o spool_in.c
make[1]: Leaving directory `/home/SRC/exim-4.05/build-Linux-i386'

...some more lines without an error......and then:


-e "s?BASENAME_COMMAND?look_for_it?" \
-e "s?HOSTNAME_COMMAND?/bin/hostname?" \
-e "s?X11_LD_LIBRARY?/usr/X11R6/lib?" \
../src/eximon.src >> eximon
>>> eximon script built

 -I /usr/include/gdbm -I /home/mysql/include -I /home/pgsql/7.1/include
-DCOMPILE_UTILITY -o util-spool_in.o spool_in.c
In file included from exim.h:325,
                 from spool_in.c:12:
structs.h:499: `MAX_NAMED_LIST' undeclared here (not in a function)
structs.h:499: size of array `domain_cache' has non-integer type
structs.h:500: `MAX_NAMED_LIST' undeclared here (not in a function)
structs.h:500: size of array `localpart_cache' has non-integer type
structs.h:611: `DNS_MAXNAME' undeclared here (not in a function)
In file included from exim.h:326,
                 from spool_in.c:12:
globals.h:420: `MAX_NAMED_LIST' undeclared here (not in a function)
globals.h:420: size of array `sender_address_cache' has non-integer type


globals.h:426: `MAX_NAMED_LIST' undeclared here (not in a function)
globals.h:426: size of array `sender_host_cache' has non-integer type
make[1]: *** [util-spool_in.o] Error 1
make[1]: Leaving directory `/home/SRC/exim-4.05/build-Linux-i386'
make: *** [go] Error 2
[root@tomcat exim-4.05]# make |mail volker
In file included from exim.h:325,
                 from spool_in.c:12:
structs.h:499: `MAX_NAMED_LIST' undeclared here (not in a function)
structs.h:499: size of array `domain_cache' has non-integer type
structs.h:500: `MAX_NAMED_LIST' undeclared here (not in a function)
structs.h:500: size of array `localpart_cache' has non-integer type
structs.h:611: `DNS_MAXNAME' undeclared here (not in a function)
In file included from exim.h:326,
                 from spool_in.c:12:
globals.h:420: `MAX_NAMED_LIST' undeclared here (not in a function)
globals.h:420: size of array `sender_address_cache' has non-integer type


globals.h:426: `MAX_NAMED_LIST' undeclared here (not in a function)
globals.h:426: size of array `sender_host_cache' has non-integer type
make[1]: *** [util-spool_in.o] Error 1
make: *** [go] Error 2

before i get to this, i fight with the dbm library, i disabled
everything in Makefile with 'dbm' but exim still misses ndbm.h .... i
figured that LOOKUP_INCLUDE must be INCLUDE ... are there some more of
this 'jokes' *ggg* ?????

thanks for help :)

volker