Exim installation

ISOS6

Verified User
Joined
May 7, 2009
Messages
318
Location
Erbil, Tarin Hills, Iraq
Hello.

After fresh DA-installation wont Exim work.

I tried to install it again, but that failure.


*** /root/exim-4.73/build-Linux-i386/exim does not exist or is empty
*** Have you built Exim successfully?
*** Exim installation failed ***
make: *** [install] Error 1

Why was not installed exim with DA?
 
Show all the error lines you are getting. What you posted provides no information to what was wrong.
 
srv:~# cd exim-4.73/Local
srv:~/exim-4.73/Local# cd ..
srv:~/exim-4.73# make
`Makefile' is up to date.

make[1]: Entering directory `/root/exim-4.73/build-Linux-i386'
gcc exim_dbmbuild.c
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:540: 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 `/root/exim-4.73/build-Linux-i386'
make: *** [all] Error 2
srv:~/exim-4.73# make install

Installation directory is /usr/sbin


*** /root/exim-4.73/build-Linux-i386/exim does not exist or is empty
*** Have you built Exim successfully?
*** Exim installation failed ***
make: *** [install] Error 1
srv:~/exim-4.73#
 
You didnt follow all the instructions then...


For all OS's, you'll also need db4 dev, so type the following on debian

apt-get install libdb4.8-dev libperl-dev libsasl2-dev

or rpm systems:

yum install db4-devel cyrus-sasl-devel
 
srv01:~# apt-get install libdb4.8-dev libperl-dev libsasl2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libdb4.8-dev
srv01:~#

So I installed
srv01:~# apt-get install libperl-dev libsasl2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libperl-dev is already the newest version.
libsasl2-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
srv01:~#

But I get same error

Connecting to www.directadmin.com|66.51.122.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2568 (2.5K) [text/plain]
Saving to: `Makefile'

100%[======================================>] 2,568 13.4K/s in 0.2s

2011-01-25 19:18:58 (13.4 KB/s) - `Makefile' saved [2568/2568]

srv01:~/exim-4.73/Local# perl -pi -e 's/^EXTRALIBS/#EXTRALIBS/' Makefile
srv01:~/exim-4.73/Local# perl -pi -e 's/HAVE_ICONV=yes/HAVE_ICONV=no/' Makefile
srv01:~/exim-4.73/Local# cd ..
srv01:~/exim-4.73# 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 `/root/exim-4.73/build-Linux-x86_64'
/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 `/root/exim-4.73/build-Linux-x86_64'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/root/exim-4.73/build-Linux-x86_64'
Building configuration file config.h
>>> config.h built

>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
>>> exigrep script built
>>> eximstats script built
>>> exipick script built
>>> exiqgrep script built
>>> exiqsumm script built
>>> transport-filter.pl script built
>>> convert4r3 script built
>>> convert4r4 script built
>>> exim_checkaccess script built

gcc exim_dbmbuild.c
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:540: 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 `/root/exim-4.73/build-Linux-x86_64'
make: *** [all] Error 2
srv01:~/exim-4.73# make install

Installation directory is /usr/sbin


*** /root/exim-4.73/build-Linux-x86_64/exim does not exist or is empty
*** Have you built Exim successfully?
*** Exim installation failed ***
make: *** [install] Error 1
srv01:~/exim-4.73#
 
If that libdb package isnt there then you need to find one that is:

aptitude search libdb
 
It looks like this is going to work out, I got it on my x64 server but getting error on x32 : (

olution).
srv:~# apt-get -f install libsasl2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
at: Depends: exim4 but it is not going to be installed or
mail-transport-agent
bsd-mailx: Depends: exim4 but it is not going to be installed or
mail-transport-agent
libsasl2-dev: Depends: libsasl2-modules (= 2.1.22.dfsg1-23+lenny1) but it is n ot going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s olution).
 
Back
Top