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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-16-2006, 07:03 AM
|
#1
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Rep:
|
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
|
|
|
05-16-2006, 07:05 AM
|
#2
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Original Poster
Rep:
|
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 
|
|
|
05-16-2006, 07:06 AM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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...
|
|
|
05-16-2006, 07:09 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
05-16-2006, 07:21 AM
|
#5
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Original Poster
Rep:
|
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
|
|
|
05-16-2006, 07:45 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
05-16-2006, 07:56 AM
|
#7
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Original Poster
Rep:
|
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
|
|
|
05-16-2006, 08:28 AM
|
#8
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Original Poster
Rep:
|
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
|
|
|
05-16-2006, 08:59 AM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
05-17-2006, 12:16 AM
|
#10
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Original Poster
Rep:
|
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
|
|
|
05-17-2006, 12:22 AM
|
#11
|
Member
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 10:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|