[Exim] exim 4.05 and localscan_dlopen.patch compilation fail…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Volker Augustin
Data:  
Para: exim-users
Assunto: [Exim] exim 4.05 and localscan_dlopen.patch compilation fails, mysterious
hi there again :)

i got successfully compiled (thanks to the list) exim 4.05 as needed.

i extract the source again, put my Makefile to Local/
now i downloaded the sa-exim2.0 tgz-package to integrate spamassassin to
exim.
i extract the patch (localscan_dlopen.patch) to src/ and type: 'patch <
./localscan_dlopen.patch'
everything seems to be ok
(my makefile already include the changes made here to src/EDITME)
as i type make here, exim compiles until this error occures:

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 -I.
-o local_scan.o ../src/local_scan.c
In file included from ../src/local_scan.c:8:
../src/exim.h:260:28: netinet/ip_var.h: No such file or directory
make[1]: *** [local_scan.o] Error 1
make[1]: Leaving directory `/home/SRC/exim-4.05/build-Linux-i386'
make: *** [go] Error 2
[root@tomcat exim]#

ok, i talk to the sa-exim list and find out that the IP_NO_VARS_H seems
it was not set,
i checked OS/os.h-Linux and OS/os.h-Linux and they have already defined
this flag,
next i checked src/exim.h and deleted the including lines for ip_var.h
going back to main-sourcedir and typing make:

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 -I. -o local_scan.o
../src/local_scan.c
In file included from /home/pgsql/7.1/include/config.h:677,
                 from ../src/exim.h:321,
                 from ../src/local_scan.c:8:
/home/pgsql/7.1/include/os.h:2: redefinition of `slock_t'
/home/pgsql/7.1/include/os.h:2: `slock_t' previously declared here
In file included from ../src/exim.h:325,
                 from ../src/local_scan.c:8:
../src/structs.h:499: `MAX_NAMED_LIST' undeclared here (not in a
function)
../src/structs.h:499: size of array `domain_cache' has non-integer type
../src/structs.h:500: `MAX_NAMED_LIST' undeclared here (not in a
function)
../src/structs.h:500: size of array `localpart_cache' has non-integer
type
../src/structs.h:611: `DNS_MAXNAME' undeclared here (not in a function)
In file included from ../src/exim.h:326,
                 from ../src/local_scan.c:8:
../src/globals.h:423: `MAX_NAMED_LIST' undeclared here (not in a
function)
../src/globals.h:423: size of array `sender_address_cache' has
non-integer type
../src/globals.h:429: `MAX_NAMED_LIST' undeclared here (not in a
function)
../src/globals.h:429: size of array `sender_host_cache' has non-integer
type
make[1]: *** [local_scan.o] Error 1
make[1]: Leaving directory `/home/SRC/exim-4.05/build-Linux-i386'
make: *** [go] Error 2



uuuh, whats going on here? i saw this yesterday and asked the exim list
(thanks again), the problem yesterday was the mistake that i did copy
the saved makefile from an old 403-compilation with windoz...ugh. but
this time , i did everything from console with my linux-box.

can anybody hep me with this problem? the guys from sa-exim said there
have compiled this successfully last night.... i did not yet :((
i go back to delete everything and extracting from fresh packages, etc.
many times, but these errors will loop 8)


thanks for any help,
volker