PDA

View Full Version : Exim build error



ostendo
03-11-2008, 07:24 AM
I get the following error:


[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?

sky22
03-12-2008, 08:45 AM
I am also getting this error:



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)

bigboy
03-12-2008, 08:54 AM
what OS?

my OS FreeBSD


#pkg_add exim_xxxx.tgz

ostendo
03-12-2008, 08:54 AM
what OS?

my OS FreeBSD


#pkg_add exim_xxxx.tgz

CentOS 5.1 here

DirectAdmin Support
03-12-2008, 10:32 AM
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

ostendo
03-12-2008, 10:35 AM
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:


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):

ostendo
03-12-2008, 10:57 AM
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?

ostendo
03-24-2008, 08:11 AM
anyone? How to upgrade to a newer Exim version in CentOS 5? (having a da-exim RPM installed and using custombuild 1.2)

DirectAdmin Support
03-24-2008, 12:40 PM
Just upgrade the rpm:
wget http://files.directadmin.com/services/es_5.0/da_exim-4.69-1.i386.rpm
rpm -Uvh da_exim-4.69-1.i386.rpmJohn

ostendo
03-24-2008, 12:50 PM
Just upgrade the rpm:
wget http://files.directadmin.com/services/es_5.0/da_exim-4.69-1.i386.rpm
rpm -Uvh da_exim-4.69-1.i386.rpmJohn

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

but!


[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..

DirectAdmin Support
03-24-2008, 12:51 PM
add a --force in there.
rpm -Uvh --force da_exim-4.69-1.i386.rpmJohn

ostendo
03-24-2008, 12:53 PM
great, did the trick! Thanks.

yoyomax
01-29-2009, 08:38 PM
Just upgrade the rpm:
wget http://files.directadmin.com/services/es_5.0/da_exim-4.69-1.i386.rpm
rpm -Uvh da_exim-4.69-1.i386.rpmJohn

Ok, I tried it and got:

[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?

hostpc.com
01-29-2009, 10:46 PM
add a --force in there.
rpm -Uvh --force da_exim-4.69-1.i386.rpmJohn

Use the force YoYo

yoyomax
01-30-2009, 03:09 AM
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?