Exim build error

ostendo

Verified User
Joined
Dec 6, 2006
Messages
67
I get the following error:

Code:
[root@noot custombuild]# ./build exim
File already exists:    exim-4.69.tar.gz
File already exists:    exim
File already exists:    exim_freebsd
File already exists:    exim_debian
Found /usr/local/directadmin/custombuild/exim-4.69.tar.gz
Extracting ...
Done.
--15:19:13--  http://files.directadmin.com/services/custombuild/Makefile
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 49444 (48K) [text/plain]
Saving to: `Local/Makefile'

100%[======================================================================================================================================================================>] 49,444       133K/s   in 0.4s

15:19:13 (133 KB/s) - `Local/Makefile' saved [49444/49444]

Trying to make exim...

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

make[1]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
/bin/sh ../scripts/Configure-os.h
/bin/sh ../scripts/Configure-os.c
gcc buildconfig.c
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
Building configuration file config.h

*** EXIM_USER contains the control character 0x0D in one of the files
    in the "Local" directory. Please review your build-time
    configuration.

make[1]: *** [config.h] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make: *** [go] Error 2

*** The make has failed, do you want to try to make again? (y,n):

How to solve this?
 
I am also getting this error:

Code:
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
Building configuration file config.h

*** EXIM_USER contains the control character 0x0D in one of the files
    in the "Local" directory. Please review your build-time
    configuration.

make[1]: *** [config.h] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make: *** [go] Error 2

Anyone know the answer? (I didn't start a new thread since it seems they are the same problem exactly)
 
Hello,

I've updated the http://files.directadmin.com/services/custombuild/Makefile
Delete yours and download a new one.
It contained ^M characters after each line, thus dos2unix sorted it out.

John

Now I'm getting:

Code:
Trying to make exim...
`Makefile' is up to date.

make[1]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386/pcre'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386/pcre'

gcc exim_dbmbuild.c
In file included from exim.h:433,
                 from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:433,
                 from exim_dbmbuild.c:33:
dbstuff.h:529: error: expected specifier-qualifier-list before âDBâ
exim_dbmbuild.c: In function âmainâ:
exim_dbmbuild.c:150: error: âDBâ undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: âdâ undeclared (first use in this function)
exim_dbmbuild.c:151: error: âDBTâ undeclared (first use in this function)
exim_dbmbuild.c:151: error: expected â;â before âkeyâ
exim_dbmbuild.c:213: error: âDB_HASHâ undeclared (first use in this function)
exim_dbmbuild.c:295: error: âcontentâ undeclared (first use in this function)
exim_dbmbuild.c:298: error: âkeyâ undeclared (first use in this function)
exim_dbmbuild.c:298: error: âR_NOOVERWRITEâ undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-i386'
make: *** [go] Error 2

*** The make has failed, do you want to try to make again? (y,n):
 
Oh but now I find out that I've got a da-exim RPM package installed. I suppose I shouldn't install Exim from source then..?

How can I safely upgrade to the newer Exim version using custombuild? I can see the new rpm here: http://files.directadmin.com/services/es_5.0/ but can I just install it using rpm? Isn't there a better way to do it?
 
anyone? How to upgrade to a newer Exim version in CentOS 5? (having a da-exim RPM installed and using custombuild 1.2)
 
Just upgrade the rpm:
Code:
wget http://files.directadmin.com/services/es_5.0/da_exim-4.69-1.i386.rpm
rpm -Uvh da_exim-4.69-1.i386.rpm
John
 
Just upgrade the rpm:
Code:
wget http://files.directadmin.com/services/es_5.0/da_exim-4.69-1.i386.rpm
rpm -Uvh da_exim-4.69-1.i386.rpm
John

Ah, I love it when it sounds that easy..

but!

Code:
[root@noot custombuild]# rpm -Uvh da_exim-4.69-1.i386.rpm
Preparing...                ########################################### [100%]
        file /etc/aliases from install of da_exim-4.69-1 conflicts with file from package setup-2.5.58-1.el5

So, it's not completely working.. setup is btw a CentOS default package as far as I can see..
 
Just upgrade the rpm:
Code:
wget http://files.directadmin.com/services/es_5.0/da_exim-4.69-1.i386.rpm
rpm -Uvh da_exim-4.69-1.i386.rpm
John

Ok, I tried it and got:
Code:
[root@***** packages]# rpm -Uvh da_exim-4.69-1.i386.rpm
error: Failed dependencies:
        libcrypto.so.6 is needed by da_exim-4.69-1
        libdb-4.3.so is needed by da_exim-4.69-1
        libssl.so.6 is needed by da_exim-4.69-1
        rtld(GNU_HASH) is needed by da_exim-4.69-1
But it's on the same system where exim 4.50 was installed a while back in 2005.
Exim 4.50 has been working since then but now what else needs to be upgraded to install the new version 4.69?
 
Use the force YoYo

Ok I did but the dark side is still there:

[root@***** packages]# rpm -Uvh --force da_exim-4.69-1.i386.rpm
error: Failed dependencies:
libcrypto.so.6 is needed by da_exim-4.69-1
libdb-4.3.so is needed by da_exim-4.69-1
libssl.so.6 is needed by da_exim-4.69-1
rtld(GNU_HASH) is needed by da_exim-4.69-1

The OS is Redhat Enterprise AS 3 but the kernal is el5.
2.6.18-53.1.13.el5.028stab053.10 #1 SMP Tue Apr 1 14:45:45 MSD 2008 i686 i686 i386 GNU/Linux

I did yum update and all is installed up to OpenSSL 0.9.7a Feb 19 2003.
What is the difference between the DA Exim rpm and a normal Exim rpm or Compilation?
 
Back
Top