LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 05-16-2006, 08:03 AM   #1
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Rep: Reputation: 15
Installing Exim


Hi,

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

ftp://ftp.gr-linux.com/pub/exim/exim...im-4.62.tar.gz

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

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

Thanks * 10000000000000000000000000
 
Old 05-16-2006, 08:05 AM   #2
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15
Hi,

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
 
Old 05-16-2006, 08:06 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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...
 
Old 05-16-2006, 08:09 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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
 
Old 05-16-2006, 08:21 AM   #5
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15
Hi,

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.

Thanks
 
Old 05-16-2006, 08:45 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 05-16-2006, 08:56 AM   #7
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15
Hi,

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]#
Anyidea
 
Old 05-16-2006, 09:28 AM   #8
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15
Hi,

I got two steps further
Code:
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
 
Old 05-16-2006, 09:59 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 05-17-2006, 01:16 AM   #10
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15
Hi,

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 )

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

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
Code:
[root@Sumit exim-4.62]# rpm -qa | grep db
db4-4.1.25-8.1
libdbi-dbd-mysql-0.6.5-5
rpmdb-redhat-3.6-0.20051014
gdbm-devel-1.8.0-20
libdbi-0.6.5-5
rhdb-utils-2.0-1
gdbm-1.8.0-20
nss_db-2.2-20.4
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
 
Old 05-17-2006, 01:22 AM   #11
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15
Hi,

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
 
  


Reply

Tags
exim, installation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with installing exim with DB4.4.20 priceey Linux - Software 1 03-11-2006 05:41 PM
Exim Help!! blakeless Linux - Software 2 03-10-2005 07:46 PM
Installing using debootstrap -> exim error? ohman Debian 1 09-19-2004 10:00 PM
exim is failed !!! error:package exim is not installed apache Linux - Software 0 06-24-2004 06:55 AM
Exim anybody? Ricardo77uk Linux - Networking 1 07-14-2001 12:23 PM


All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration