Which docs have you been reading ?
I am using Debian Woody:
ii courier-authda 0.37.3-1 Courier Mail Server authenticationdaemon
ii courier-base 0.37.3-1 Courier Mail Server Base System
ii courier-imap 1.4.3-1 IMAP daemon with PAM and Maildirsupport
ii libldap2 2.0.23-3 OpenLDAP libraries.
ii libpam-ldap 138-1 Pluggable Authentication Module
allowing LDA
ii openldap-guide 19991007-3 OpenLDAP Admin Guide
ii openldap-utils 1.2.12-1 OpenLDAP utilities.
ii php4-ldap 4.1.1-1 LDAP module for php4
ii slapd 2.0.23-3 OpenLDAP server (slapd).
You said...
Good day time!
First of all, I am to thank everybody, who tried to help me.
As you remeber, the problem was that the configure script could not find
OpenLDAP libraries. Different methods been tried, but nothing helped. But
what can be worser than an old head? This is the solution at last:
1. First of all, the cofigure script creates a config.cache file after
running configure script. This file (config.cache) contains test results for
the system. And after i have changed the location of OpenLDAP libraries and
includes i haven't remove this file.
NOTA:
After changing paths and so on, remove the config.cache and rerun configure
script.
Question:
Why it is not mentioned in Official Documentation?
2. By default, configure script searches /usr/lib and /usr/include but not
/usr/local/include and /usr/local/lib . So, while running OpenLDAP configure
script i set --prefix=/usr .
Suppose, it is a good idea to run ldconfig -R to rescan paths.
3. The other problem is how to determine, that the configure script has
found OpenLDAP libraries and headers? The solution is easy. Dump the output
of configure script ( # ./configure {some-options} >> dump.txt )and find the
string, contatingn ldap.h .
--==== EXAMPLE ==-----
checking for ldap.h... yes
checking for lber.h... yes
checking for syslog.h... (cached) yes
checking whether -lresolv is needed for res_query... no
checking for ber_scanf in -llber... yes
checking for ldap_open in -lldap... yes
checking for ldap_search_st... yes
checking for ldap_start_tls_s... yes
--===== EXAMPLE ==----
Everything concerning ldap and lber shoul be "yes" . This means that
configure script has found OpenLDAP libraries and headers and vice versa.
QUESTION: Not mentioned in docs to! Why? Very useful thing.
Excuse my poor English.
Best wishes from Russia.
---------------------
Composed in a real editor by a virtual human.
6.0.093-2 Vi IMproved - enhanced vi editor
---------------------
Ted Knab
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users