From owner-freebsd-apache@FreeBSD.ORG Mon Nov 14 02:17:55 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 896F510656A3; Mon, 14 Nov 2011 02:17:55 +0000 (UTC) (envelope-from pgollucci@taximagic.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 399FD8FC22; Mon, 14 Nov 2011 02:17:54 +0000 (UTC) Received: by ggnk3 with SMTP id k3so8093870ggn.13 for ; Sun, 13 Nov 2011 18:17:54 -0800 (PST) Received: by 10.236.143.3 with SMTP id k3mr11174444yhj.91.1321235324176; Sun, 13 Nov 2011 17:48:44 -0800 (PST) Received: from jlhewitt.local ([204.239.250.1]) by mx.google.com with ESMTPS id 32sm56587596anu.10.2011.11.13.17.48.42 (version=SSLv3 cipher=OTHER); Sun, 13 Nov 2011 17:48:43 -0800 (PST) Message-ID: <4EC07379.9030507@p6m7g8.com> Date: Sun, 13 Nov 2011 17:48:41 -0800 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: ohauer@freebsd.org References: <1321178257.16765.YahooMailNeo@web111510.mail.gq1.yahoo.com> <4EBFFE83.6020002@FreeBSD.org> In-Reply-To: <4EBFFE83.6020002@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 14 Nov 2011 04:14:26 +0000 Cc: "apache@FreeBSD.org" , Umar Draz Subject: Re: ldap installation problem with apache X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2011 02:17:55 -0000 On 11/13/11 9:29 AM, Olli Hauer wrote: > 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 Also 2.2.1 is anicent and CVE riddled. -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.