*BSD News Article 76311


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!in-news.erinet.com!ddsw1!news.mcs.net!nntp04.primenet.com!nntp.primenet.com!news.mathworks.com!hunter.premier.net!news1.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Can't compile htpasswd for apache
Date: Sat, 17 Aug 1996 20:47:58 -0700
Organization: A poorly-installed InterNetNews site
Lines: 26
Message-ID: <3216926E.65C4@www.play-hookey.com>
References: <4v2cuo$cpe@news-2.csn.net>
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

Adrian Goins wrote:
> 
> Using FreeBSD 2.1.0, I'm not able to compile the htpasswd support file
> due to some reference to _crypt that it doesn't understand.  I have
> all of the DES stuff - anyone had this problem before??
> 

The requirement is met in the src/Configuration file once you open up the 
tarball. A few lines above the Module Configuration section you'll find 
the AUX_* settings for the various BSD versions. Just under where it says 
BSDI doesn't need -lcrypt, you need to uncomment the line:

	#AUX_LIBS= -lcrypt

FreeBSD is not BSDI, and *does* need -lcrypt. Then you can include the 
dbm module further down.

Also, remember to set the base paths on the 'config dir' section of 
httpd.h in the same directory. The default paths are not correct for the 
FreeBSD directory structure.
-- 
Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |