From owner-freebsd-questions@FreeBSD.ORG Tue Oct 19 16:04:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 952F916A4CE for ; Tue, 19 Oct 2004 16:04:48 +0000 (GMT) Received: from debian.akroteq.com (rdbck-static-72.palmer.mtaonline.net [12.17.141.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57D0B43D1D for ; Tue, 19 Oct 2004 16:04:48 +0000 (GMT) (envelope-from andy@firman.us) Received: from andy by debian.akroteq.com with local (Exim 4.34) id 1CJwTf-0000rr-IA for freebsd-questions@freebsd.org; Tue, 19 Oct 2004 08:04:47 -0800 Date: Tue, 19 Oct 2004 08:04:47 -0800 From: Andy Firman To: freebsd-questions@freebsd.org Message-ID: <20041019160447.GA3247@akroteq.com> References: <20041019142539.GA1772@akroteq.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Subject: Re: how to reinstall a port after a "make install clean"? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andy Firman List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 16:04:48 -0000 On Tue, Oct 19, 2004 at 10:44:59AM -0500, terry tyson wrote: > On Tue, 19 Oct 2004 06:25:39 -0800, Andy Firman wrote: > > > > I need to rebuild the exim-mysql port with ldap lookups > > and am having trouble since I did a make install clean. > snip > > I don't know if this will solve your specific problem but doing a > "make deinstall" has cleared up some issues for me when trying to > reinstall. Thanks but...when I first installed exim-mysql I did "make install clean". Per the handbook....quote: "The make deinstall and make reinstall sequence does not work once you have run make clean. If you want to deinstall a port after cleaning, use pkg_delete(1)" So I used pkg_delete. Now I can't build exim-mysql with other options. Again this is my command I run in /usr/ports/mail/exim-mysql, after I do the pkg_delete. # make -DWITH_OPENLDAP=yes -DWITH_OPENSSL_BASE -DWITH_LDAP_LIB_TYPE=OPENLDAP22 \ -DWITH_LOOKUP_LDAP=yes install clean Running exim -bV give me this: Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch mysql nis nis0 passwd and I also get errors in the log file when Exim tries an ldap lookup. It is not building Exim with those options.....Am I missing a step? After pkg_delete, do I need to do some other sort of cleaning? Andy