Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
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.
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 rpm.pbone.net
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.
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.
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
Code:
[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]#
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.