-   Linux - Software (
-   -   Installing Exim (

vikasumit 05-16-2006 07:03 AM

Installing Exim

I am having problem installing Exim. Actually I am very new to Linux and don't know the correct step for installation of software from source.

I download exim from

Now, I don't know to install exim using this ?

Please anyone give full step for doing this....Please Please Please Please * 10000 * 10000 :D

Thanks * 10000000000000000000000000

vikasumit 05-16-2006 07:05 AM


oooooooops I forget to tell that I am installing it on CentOS 3.6 and to my bad luck it already has sendmail working on it, which I don't want to use. So you can also suggest a way to remvoe or replace that

Thanks again :)

acid_kewpie 05-16-2006 07:06 AM

if you do not feel comfortable installing from source then don't. find a prebuilt package for your distro. but as you didn't even tell us what distro you are using we can't tell you where to get one from.

and please drop all that * 10000 nonsense...

acid_kewpie 05-16-2006 07:09 AM

right ok. so use the exim rpm's from the centos yum repositories that should already be configured on your system. if it's not available through that, google for "centos exim rpm" and you'll get one from somewhere like

vikasumit 05-16-2006 07:21 AM


First y drop "nosense" ..:)

Anyways, I need to install it from source only. As I need to observe few things and Now since I don't know about this, I will sure want to Learn doing that. I am very much comfortable when I install PHP or Apache from source as I do configure , make . But for exim I cannot do configure and stuff, so not getting how to install it.

Please suggest a way out.
I mean there can many source on how to install from source, just let me know some of general way to compile a project, and do installation.


acid_kewpie 05-16-2006 07:45 AM

generic tarball instructions will apply as normal. if you ran a ./configure, make, make install for php and apache then you can just do the same for exim. if there is a particular reason you can't do this for exim, you need to tell us what that reason is.

vikasumit 05-16-2006 07:56 AM


I move a step forward in doing this .. As in README for exim it is give that I copy src/EDITME to Local/Makefile
and than run make command ...

when I did that I got this


[root@Sumit exim-4.62]# 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/Desktop/exim-4.62/build-Linux-athlon'
/bin/sh ../scripts/Configure-os.h
grep: /usr/include/linux/ip.h: No such file or directory
/bin/sh ../scripts/Configure-os.c
gcc buildconfig.c
make[1]: gcc: Command not found
make[1]: *** [buildconfig] Error 127
make[1]: Leaving directory `/root/Desktop/exim-4.62/build-Linux-athlon'
make: *** [go] Error 2
[root@Sumit exim-4.62]#


vikasumit 05-16-2006 08:28 AM


I got two steps further

gcc -DCOMPILE_UTILITY spool_in.c
In file included from exim.h:425,
                from spool_in.c:14:
dbstuff.h:103:16: db.h: No such file or directory
In file included from exim.h:425,
                from spool_in.c:14:
dbstuff.h:529: syntax error before "DB"
dbstuff.h:529: warning: no semicolon at end of struct or union
dbstuff.h:531: syntax error before '}' token
dbstuff.h:531: warning: data definition has no type or storage class
In file included from exim.h:429,
                from spool_in.c:14:
dbfunctions.h:13: syntax error before '*' token
dbfunctions.h:14: syntax error before '*' token
dbfunctions.h:15: syntax error before '*' token
dbfunctions.h:15: syntax error before "open_db"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: syntax error before '*' token
dbfunctions.h:17: syntax error before '*' token
dbfunctions.h:18: syntax error before '*' token
make[1]: *** [util-spool_in.o] Error 1
make[1]: Leaving directory `/root/Desktop/exim-4.62/build-Linux-athlon'
make: *** [go] Error 2

does this mean exim has error in its code?? or I am missing something on my PC

Please suggest now

acid_kewpie 05-16-2006 08:59 AM

looks like you are missing db-devel, which should be on your distro cd's. again consider sticking to rpm's unless you have a good reason to do otherwise.

vikasumit 05-17-2006 12:16 AM


I have a good reason, that I want to learn Linux, I am working on a project that need me to learn all the ifs and buts of linux.

Secondly, this is my personnaly believe that linux softwares are best when install from scratch, i.e. you compile them and run.

third, according to my two objective above, compile and installation is the best method to learn linux's basic working :o)

In future I will try to complie Kernel even..but for now only exim :D

Well I search for db-devel for my centos but i didn't find any relevant package,Though I check my PC for db-devel and found this

[root@Sumit exim-4.62]# rpm -qa | grep db

I found some db-devel package for i386 on suse, Not sure if they are correct one.
also I found db4-devel if its the one you are talking about.

Please suggest

vikasumit 05-17-2006 12:22 AM


I install db4-devel package and it goes to next step .. though its again an error, but I will try to do it first my own and if any error found I will put it here for you ... till than bye

Thanks acid_kewpie . You Guilded me correct way, But I love if you use little soft words ...for newbies

But Good to get response from a experince person like you..
Thanks a lot

All times are GMT -5. The time now is 08:33 PM.