Re: [Exim] compiling 4.05 vs 4.03

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Volker Augustin
CC: exim-users
Tárgy: Re: [Exim] compiling 4.05 vs 4.03
On Wed, 19 Jun 2002, Volker Augustin wrote:

> [root@tomcat exim-4.05]# cat ./build-Linux-i386/config.h
> /*************************************************
> *           Configuration header for Exim        *
> *************************************************/

>
> /* This file was automatically generated from Makefile and config.h.defaults,
> using values specified in the configuration file Local/Makefile.
> Do not edit it. Instead, edit Local/Makefile and rerun make. */
>
> #define HAVE_IPV6             FALSE

>
> #define APPENDFILE_MODE            0600
> #define APPENDFILE_DIRECTORY_MODE  0700
> #define APPENDFILE_LOCKFILE_MODE   0600
> #define AUTH_CRAM_MD5         yes
> #define AUTH_PLAINTEXT        yes
> #define AUTH_SPA              yes
> "define BIN_DIRECTORY         "/home/Exim/bin
> "define CONFIGURE_FILE        "/home/Exim/etc/configure
> /* CONFIGURE_FILE_USE_EUID not set */
> /* CONFIGURE_FILE_USE_NODE not set */
> /* CYRUS_PWCHECK_SOCKET not set */
> #define DELIVER_IN_BUFFER_SIZE     8192
> #define DELIVER_OUT_BUFFER_SIZE    8192
> #define EXIMDB_DIRECTORY_MODE      0750
> #define EXIMDB_LOCK_TIMEOUT          60
> #define EXIMDB_LOCKFILE_MODE       0640
> #define EXIMDB_MODE                0640
> /* EXIM_PERL not set */
> [root@tomcat exim-4.05]#



1. That is truncated. It should be much longer, and the final line
should be "/* End of config.h */". This looks exactly like the problem
that somebody else had.

2. I thought I had added a check in 4.05 to ensure that that final line
was present. Have you got this target in your Makefile (in the build
directory)?

# Build the config.h file.

config.h: Makefile buildconfig ../src/config.h.defaults $(EDITME)
        $(SHELL) $(SCRIPTS)/Configure-config.h
        @if [ "`tail -1 config.h`" != "/* End of config.h */" ] ; then \
          echo "*** config.h appears to be incomplete"; \
          echo "*** unexpected failure in buildconfig program"; \
          exit 1; fi


If you have, I wonder why it hasn't caused that error?

3. The next line in the config.h file should be

#define EXIM_UID

so the problem is definitely related to the uid. How have you defined
EXIM_USER in Local/Makefile?


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