[SUMMARY] compile error with exim and crypt16

From: Dermot Paikkos <dermot_at_sciencephoto.com>
Date: Fri, 12 Sep 2003 11:18:11 +0100

Hi,

This summary applies in the first place to Tru64 5.1 and Exim 4.20.
The original problem with compiling crypt16 on TRU64 5.1 was
remedied in versions 4.21 and later. Thanx to James Sainsbury and
J.A. Gutierrez for their advice there, it didn't do the trick but was non-
the-less appreciated.

With exim 4.22 (the current release), I hit a further snag, this time
with expand.c. Phil Hazel, the writer of exim, gave me a fix for that
which involved editing the src/expand.c. Change the line that reads

#ifdef SUPPORT_CRYPTEQ
#ifdef CRYPT_H
#include <crypt.h>
#endif
extern char* crypt16(char*, char*);
#endif

 to

#ifdef SUPPORT_CRYPTEQ
#ifdef CRYPT_H
#include <crypt.h>
#endif
#ifndef HAVE_CRYPT16
extern char* crypt16(char*, char*);
#endif
#endif

One more problem remained. This was with iconv option. The TRU64
Makefile needs to have
"EXTRALIBS=-liconv"
set otherwise it won't compile.

A big thanx to Phil for his time and patience and of course EXIM.
Dp.
 

~~
Dermot Paikkos * dermot_at_sciencephoto.com
Network Administrator _at_ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668
Received on Fri Sep 12 2003 - 10:20:48 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT