Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 11:26:42 +0100 (BST)
From:      Neil Darlow <neil@darlow.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116508: www/apache22: apache-2.2.6_1 build breaks for mod_authnz_ldap
Message-ID:  <20070921102642.CD559103208@router.darlow.co.uk>
Resent-Message-ID: <200709211050.l8LAo1BC094418@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070921102642.CD559103208>