From owner-freebsd-apache@FreeBSD.ORG Sun Nov 13 17:29:37 2011 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB50106564A for ; Sun, 13 Nov 2011 17:29:37 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 199818FC08 for ; Sun, 13 Nov 2011 17:29:37 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id C0BD720624; Sun, 13 Nov 2011 18:29:31 +0100 (CET) Message-ID: <4EBFFE83.6020002@FreeBSD.org> Date: Sun, 13 Nov 2011 18:29:39 +0100 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Umar Draz References: <1321178257.16765.YahooMailNeo@web111510.mail.gq1.yahoo.com> In-Reply-To: <1321178257.16765.YahooMailNeo@web111510.mail.gq1.yahoo.com> X-Enigmail-Version: 1.3.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "apache@FreeBSD.org" Subject: Re: ldap installation problem with apache X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ohauer@FreeBSD.org List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2011 17:29:37 -0000 On 2011-11-13 10:57, Umar Draz wrote: > Hi, > > I am trying to install apache-2.2.1 on FreeBSD 8.2 64bit, I want to use ldap_authentication. Here is my make.conf > > WITH_LDAP_MODULES=yes > > But I am getting this error on make install > > 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. > mod_authnz_ldap.c:63: error: expected specifier-qualifier-list before 'deref_options' > > > the apr package is also installed > > apr-0.9.19.0.9.19_1 Apache Portability Library > > Please help me how to solve this error > Hi Umar, that's the wrong apr package! (maybe a relict from apache13) apache22 needs the apr1 port (devel/apr1) but you have apr0 installed. See ports/UPDATING entry from 20100518 $> grep -A27 20100518 /usr/ports/UPDATING $> cd ports/devel/apr1 $> make config -> add LDAP to the mix then follow the UPDATING instruction or do a manually delete of apr0 and fresh installation of devel/apr1 -- Regards, olli