Subject: which md5.h for security/cyrus-sasl?
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 03/01/2004 19:41:45
Trying to compile security/cyrus-sasl I get: 

...
cfe: Error: ../include/saslplug.h: 8: Cannot open file md5.h for
#include

I am wondering which md5.h should be included. I have in fact four
different ones under LOCALBASE:

include/nbcompat/md5.h
include/openssl/md5.h
include/rsaref/md5.h
include/isc/md5.h

I tried using -I${SSLBASE}/include/openssl in Makefile (any better
suggestions?), but this just gave me:

cfe: Error: common.c, line 1012: 'MD5Init' undefined; reoccurrences will
not be reported.
   utils->MD5Init  = &MD5Init;
 ---------------------^
cfe: Error: common.c, line 1013: 'MD5Update' undefined; reoccurrences
will not be reported.
   utils->MD5Update= &MD5Update;
 ---------------------^
cfe: Error: common.c, line 1014: 'MD5Final' undefined; reoccurrences
will not be reported.
   utils->MD5Final = &MD5Final;
 ---------------------^

Am I doing anything wrong, or is this package broken?  


Besides, would it make sense to specify
--with-plugindir=${LOCALBASE}/..., since it seems to default to
/usr/lib/sasl?


-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442