Re: [EXIM] How to compile exim 1.82 on RedHat 5

Top Page
Delete this message
Reply to this message
Author: Mark Baker
Date:  
To: exim-users
Subject: Re: [EXIM] How to compile exim 1.82 on RedHat 5
On Thu, Mar 12, 1998 at 12:07:16PM +0200, Mats Lejon wrote:
> Hello. I am trying to compile exim 1.82 on a Linux Redhat 5. As far as I
> know, I have done a full intallation of RedHat.
>
> After I had changed -lndbm to -lgdbm and added LIBRESOLV=-lresolv exim
> compiles fine with HAVENIS=no, but if I set HAVENIS=yes I get the following
> error in the final linking of exim:


I did this when compiling exim for debian 2.0[1] which also uses libc6, so
had the same problems as you found with RH5.

--- exim-1.82.orig/OS/Makefile-Linux
+++ exim-1.82/OS/Makefile-Linux
@@ -2,7 +2,12 @@

BASENAME_COMMAND=look_for_it

-DBMLIB = -lndbm
+DBMLIB = -ldb
+
+USE_DB = 1
+
+LIBS = -lnsl
+LIBRESOLV = -lresolv

X11=/usr/X11R6
XINCLUDE=-I$(X11)/include


[1] Which will be frozen midnight sunday.

--
*** Exim information can be found at http://www.exim.org/ ***