From owner-freebsd-questions@FreeBSD.ORG Fri Jan 7 13:24:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA41C1065695 for ; Fri, 7 Jan 2011 13:24:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 307918FC08 for ; Fri, 7 Jan 2011 13:24:50 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p07DOijT001856 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 7 Jan 2011 13:24:44 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p07DOijT001856 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1294406684; bh=0Ye6PuQIub2Gz9J2/uI1r+ciD5sUZk6hsh3fhf6GCj4=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D271414.4000902@infracaninophile.co.uk>|Date:=20F ri,=2007=20Jan=202011=2013:24:36=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201 .0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20Apache=20w ith=20LDAP=20from=20ports=20failing.|References:=20|In-Reply-To:=20< AANLkTik+xJtfEjZjJeSNo=3DZ53ZHKCFaZ5B7xbrqCK9XY@mail.gmail.com>|X- Enigmail-Version:=201.1.1|OpenPGP:=20id=3D60AE908C|Content-Type:=2 0multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"ap plication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigDF 098BFD7E1928DED7E5B8E4"; b=ywh4hb+zU6verMIcLP0pCHz0T8Kl6MzHe1VXVlCqo6toFl/njOoOzwGbErqZcaIay /IZX4ZEbXYa+E9JkKYixDK6l6+HhdzJL+nJtjmhpCOj81bm5i1jkQoeCz38No+K5jP Kmp1vHVJfKQeiC7tO4//x4P14ov+92yQm+H9z/lc= Message-ID: <4D271414.4000902@infracaninophile.co.uk> Date: Fri, 07 Jan 2011 13:24:36 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDF098BFD7E1928DED7E5B8E4" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Apache with LDAP from ports failing. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2011 13:24:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDF098BFD7E1928DED7E5B8E4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/01/2011 12:43, Paul Halliday wrote: > I am trying to build apache22 on a fresh 8.1 box from ports. It is > dying right about here: >=20 > mod_authnz_ldap.c:41:2: error: #error mod_authnz_ldap requires > APR-util to have LDAP support built in. To fix add --with-ldap to > ./configure. Add LDAP support to the OPTIONS for devel/apr1 by running 'make config' Rebuild and reinstall devel/apr1 Rebuild and reinstall www/apache22 In general, you need to match up the capabilities from devel/apr1 with the set of modules you want to enable for www/apace22. So if you want apache itself[*] to interface with LDAP, MySQL, PostgreSQL or SQLite or you want to use ndbm format hash files etc. then you need to turn on the corresponding capability in devel/apr1. Ditto for www/apache20 and devel/apr0 and (presumably) for the upcoming www/apache24 and devel/apr2. Cheers, Matthew [*] but not by an embedded language like mod_php or mod_perl --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigDF098BFD7E1928DED7E5B8E4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0nFBwACgkQ8Mjk52CukIyO1ACdEAq+TOt5yqegQkPUl9flhhDs sfYAoIMWdtnlmtTYG9EOM/P6mIBkzECD =3uum -----END PGP SIGNATURE----- --------------enigDF098BFD7E1928DED7E5B8E4--