ports/116508: www/apache22: apache-2.2.6_1 build breaks for mod_authnz_ldap
Neil Darlow
neil at darlow.co.uk
Fri Sep 21 10:50:01 UTC 2007
>Number: 116508
>Category: ports
>Synopsis: www/apache22: apache-2.2.6_1 build breaks for mod_authnz_ldap
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 21 10:50:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Neil Darlow
>Release: FreeBSD 6.2-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD router.darlow.co.uk 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Thu Aug 2 18:15:16 BST 2007 root at router.darlow.co.uk:/usr/obj/usr/src/sys/ROUTER i386
>Description:
I attempted to replace my WITH_XXX_MODULES=yes constructs in pkgtools.conf
with use of appropriate OPTIONS settings.
The following error occurred during the build of mod_authnz_ldap:
/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr/libtool --silent --mode=compile cc -O2 -fno-strict-aliasing -pipe -I/usr/ports/www/apache22/work/httpd-2.2.6/srclib/pcre -I. -I/usr/ports/www/apache22/work/httpd-2.2.6/os/unix -I/usr/ports/www/apache22/work/httpd-2.2.6/server/mpm/prefork -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/http -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/filters -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/proxy -I/usr/ports/www/apache22/work/httpd-2.2.6/include -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/generators -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/mappers -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/database -I/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr/include -I/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr-util/include -I/usr/local/include -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/proxy/../generators -I/usr/include -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/ss
l -I/usr/ports/www/apache22/work/httpd-2.2.6/modules/dav/main -prefer-pic -c mod_authnz_ldap.c && touch mod_authnz_ldap.slo
mod_authnz_ldap.c:40:2: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure.
>How-To-Repeat:
mod_authnz_ldap via OPTIONS and don't use WITH_LDAP_MODULES.
>Fix:
I tried changing:
.if defined ( WITH_LDAP ) || defined ( WITH_LDAP_MODULES )
to:
.if defined ( WITH_LDAP ) || defined ( WITH_AUTHNZ_LDAP ) || defined ( WITH_LDAP_MODULES )
in www/apache22/Makefile but it doesn't help.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list