From owner-freebsd-stable@FreeBSD.ORG Wed Nov 30 18:09:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0326A106566B for ; Wed, 30 Nov 2011 18:09:24 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED538FC14 for ; Wed, 30 Nov 2011 18:09:23 +0000 (UTC) Received: by faak28 with SMTP id k28so1073135faa.13 for ; Wed, 30 Nov 2011 10:09:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.152.66 with SMTP id f2mr3376164bkw.137.1322674881905; Wed, 30 Nov 2011 09:41:21 -0800 (PST) Received: by 10.223.111.75 with HTTP; Wed, 30 Nov 2011 09:41:21 -0800 (PST) X-Originating-IP: [209.66.78.50] In-Reply-To: References: Date: Wed, 30 Nov 2011 12:41:21 -0500 Message-ID: From: Mark Saad To: Shaun Meyer Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: www/Apache22 fails to build when configured for LDAP and AUTHNZ_LDAP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2011 18:09:24 -0000 On Wed, Nov 30, 2011 at 11:44 AM, Shaun Meyer wro= te: > Hello, > > I have already built apache22 successfully on FreeBSD 8.2-RELEASE-p3 > amd64. I realized that I wanted authnz_ldap which wasn't turned on by > default so I went into www/apache22 and did the following: > > # make clean > # make config > # make showconfig | grep LDAP > =C2=A0 =C2=A0 LDAP=3Don "Enable mod_ldap" > =C2=A0 =C2=A0 AUTHNZ_LDAP=3Don "Enable mod_authnz_ldap" > # make > > LDAP and AUTHNZ_LDAP are the only adjusted knobs from the defaults. > > The operative build error is "mod_authnz_ldap.c:41:2: error: #error > mod_authnz_ldap requires APR-util to have LDAP support built =C2=A0in. To > fix add --with-ldap to ./configure." > > I have also tried removing and cleaning for the apr package. I see no > other apache-related files installed and all this has been done > against the latest, greatest ports collection using `portsnap`. > > This symptoms are identical to > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D124651 except, obviously, > they have fixed that cause. > > Any advice is greatly appreciated, > > Shaun Meyer You need to just rebuild the apr port with ldap. Confirm what version of apr you have installed and then use make config in that port to add ldap support. Remove the installed port and reinstall the new one with ldap support . They you should be able to install apache with ldap hooks. --=20 mark saad | nonesuch@longcount.org