Re: [Exim] compiling 4.05 vs 4.03

Pàgina inicial
Delete this message
Reply to this message
Autor: Volker Augustin
Data:  
A: exim-users
Assumpte: Re: [Exim] compiling 4.05 vs 4.03
as i read in the list, i should start from a new copy... ok ,delete the source, extracted the tarballgz, then
type make....

_______hmmm any suggestions? if i type make again, it runs for a moment, then i get the previous error......
whats wrong here????

my log after extracting from a new tarballgz:

[root@tomcat exim-4.05]# make

>>> Creating links to source files...
>>> New Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile


make[1]: Entering directory `/home/SRC/exim-4.05/build-Linux-i386'
/bin/sh ../scripts/Configure-os.h
/bin/sh ../scripts/Configure-os.c
-I /usr/include/gdbm -I /home/mysql/include -I /home/pgsql/7.1/include -o buildconfig buildconfig.c -lnsl
-lcrypt
/bin/sh ../scripts/Configure-config.h
make[2]: Entering directory `/home/SRC/exim-4.05/build-Linux-i386'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/home/SRC/exim-4.05/build-Linux-i386'
Building configuration file config.h

" (specified one of the Makefiles) does not exist.
    Please review your build-time configuration.


make[1]: *** [config.h] Error 1
make[1]: Leaving directory `/home/SRC/exim-4.05/build-Linux-i386'
make: *** [go] Error 2
[root@tomcat exim-4.05]#


_______________





Volker Augustin wrote:

> 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
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##