Date: Fri, 07 Jan 2011 13:24:36 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Apache with LDAP from ports failing. Message-ID: <4D271414.4000902@infracaninophile.co.uk> In-Reply-To: <AANLkTik%2BxJtfEjZjJeSNo=Z53ZHKCFaZ5B7xbrqCK9XY@mail.gmail.com> References: <AANLkTik%2BxJtfEjZjJeSNo=Z53ZHKCFaZ5B7xbrqCK9XY@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D271414.4000902>
