1 Making and Installing the OpenLDAP Distribution
2 ===============================================
4 This file provides brief instructions on how to build and install
5 OpenLDAP on UNIX (and UNIX-like) system. More detailed information
6 and instructions can be found in The OpenLDAP Administrator's Guide
7 (http://www.openldap.org/doc/admin/).
9 It is recommended that you read, or at least skim through, ALL of the
10 instructions in this file before attempting to build the software.
12 It is also recommended you review Frequently Asked Questions
13 (http://www.openldap.org/faq/) pages, in particular the Installation
14 section (http://www.openldap.org/faq/index.cgi?file=8) and Platform
15 Hints (http://www.openldap.org/faq/index.cgi?file=9) should be
19 Making and Installing the OpenLDAP Distribution
20 -----------------------------------------------
22 1. Unpack the distribution and change directory:
24 % tar xfz openldap-VERSION.tgz
27 (replacing VERSION with the appropriate version string). If you
28 are reading this file, you probably have already done this!
34 to list available configuration options.
36 The configure script uses environmental variables for determining
37 compiler/linker options including:
39 Variable Description Example
42 CPPFLAGS cpp flags -I/path/include -Ddef
43 LDFLAGS ld flags -L/usr/local/lib
45 PATH command path /usr/local/bin:/usr/bin:/bin
47 3. Configure the build system
49 % [env settings] ./configure [options]
51 If all goes well, the configure script with automatically detect
52 the appropriate settings. However, you may need to specify
53 options and/or environment variables to obtain desired results.
63 If all goes well, the system will build as configured. If not,
64 return to step 3 after reviewing the configuration settings. You
65 may want to consult the Platform Hints subsection of the FAQ if
66 you have not done so already.
68 6. Test the standalone system
70 This step requires the standalone LDAP server, slapd(8), with
75 If all goes well, the system has been built as configured. If
76 not, return to step 4 after reviewing your configuration
77 settings. You may want to consult the Installation section of
78 the FAQ if you have not done so already.
80 7. install the binaries and man pages. You may need to be come the
81 super-user (e.g. root) to do this (depending on where you are
84 % su root -c 'make install'
88 See the OpenLDAP Administrator's Guide and the manual pages for the
89 individual applications for configuration and use information. You may
90 also want to edit the configuration files used by the various
91 components. These configuration files are located in the OpenLDAP
92 configuration directory (normally /usr/local/etc/openldap).
94 ldap.conf client defaults
95 slapd.conf Standalone LDAP daemon
96 schema/*.schema Schema Definitions
99 End of OpenLDAP INSTALL file.
101 $OpenLDAP: pkg/openldap-guide/release/install.sdf,v 1.12 2000/09/09