[tpop3d-discuss] Re: tpop3d on Mac OS X

Chris Lightfoot chris at ex-parrot.com
Mon, 22 Jul 2002 21:11:50 +0100


On Mon, Jul 22, 2002 at 09:02:25PM +0100, Paul Makepeace wrote:
> > I tried to follow README.darwin instructions, but configure failed at:
> > 
> > checking for tcpd.h... no
> > configure: error: passwd authentication enabled, but can't find crypt.h
> > 

It looks like the configure script is in error. What
header file is needed for crypt(3) in Mac OS X? Probably
just unistd.h. Try this patch:

diff -u -r1.47 configure.in
--- configure.in        28 Jun 2002 18:59:13 -0000      1.47
+++ configure.in        22 Jul 2002 20:10:11 -0000
@@ -486,13 +486,13 @@
     fi
 fi
 
-if test x"$enable_auth_passwd" = x"yes" || test x"$enable_shadow" = x"yes"
-then
-    if test x"$ac_cv_header_crypt_h" != x"yes"
-    then
-        AC_MSG_ERROR( [[passwd authentication enabled, but can't find crypt.h]] )
-    fi
-fi
+#if test x"$enable_auth_passwd" = x"yes" || test x"$enable_shadow" = x"yes"
+#then
+#    if test x"$ac_cv_header_crypt_h" != x"yes"
+#    then
+#        AC_MSG_ERROR( [[passwd authentication enabled, but can't find crypt.h]] )
+#    fi
+#fi
 
 if test x"$enable_pam" = x"yes"
 then



... that may solve your problem, though in fact it should
be trying to figure out where crypt is. (You'll have to
re-run ./bootstrap.) I hate autoconf....



-- and Paul, formail -D ?

-- 
``Normal people work, eat, breed, sleep and excrete.
  The rest of the time they're watching other people
  eat, breed, sleep and excrete on reality TV.'' (seen on the internet)