Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 76068 invoked by uid 500); 10 Mar 2003 13:49:09 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 76015 invoked from network); 10 Mar 2003 13:49:09 -0000 Message-Id: <5.2.0.9.0.20030310133507.019e8a70@spey> X-Sender: dbb@spey X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Mon, 10 Mar 2003 13:49:00 +0000 To: dev@apr.apache.org From: Duncan Brannen Subject: configure file error? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-StAndrewsMailScanner: No virus detected X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, configure (in Apr 0.9.2 bundled with apache) doesn't seem to do anything with the value of --with-ldap= I'm no expert with these things but around line 3220 it sets LIBLDAP to the value passed in --with-ldap= It checks to see if it's yes and then sets ldaplib="ldap50" but I can't see where it sets ldaplib to the value you specify and in fact configure fails here. checking for ldap_init in -l... no which should (I guess) read checking for ldap_init in -l... Is this a bug? While I'm at it I always get ldap_ssl.h errors (As below) should this work? I have the Netscape SDK installed in /usr/local and the openldap libs in /opt/ldap. I was going to use openldap but I'd like SSL connections to work if poss. Cheers, Duncan setting APRUTIL_INCLUDES to "-I/opt/ldap/2.1.8/include" setting APRUTIL_LDFLAGS to "-L/opt/ldap/2.1.8/lib" checking for ldap_init in -lldap50... yes setting APRUTIL_EXPORT_LIBS to "-lldap50 -lnspr4 -lplc4 -lplds4 -liutil50 -llber50 -lldif50 -lnss3 -lprldap50 -lssl3 -lssldap50" setting APRUTIL_LIBS to "-lldap50 -lnspr4 -lplc4 -lplds4 -liutil50 -llber50 -lldif50 -lnss3 -lprldap50 -lssl3 -lssldap50" checking for ldapssl_install_routines in -lldap50... yes checking for ldap_start_tls_s in -lldap50... no checking for ber_init in -llber... no checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking ldap_ssl.h usability... no checking ldap_ssl.h presence... yes configure: WARNING: ldap_ssl.h: present but cannot be compiled configure: WARNING: ldap_ssl.h: check for missing prerequisite headers? configure: WARNING: ldap_ssl.h: proceeding with the preprocessor's result