[SUMMARY] compile error with exim and crypt16

From: Dermot Paikkos (dermot@sciencephoto.com)
Date: Fri Sep 12 2003 - 06:18:11 EDT


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@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:35 EDT