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 (available from http://www.openldap.org/doc/).
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 the 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
18 Making and Installing the OpenLDAP Distribution
19 -----------------------------------------------
21 1. Unpack the distribution and change directory:
23 % tar xfz openldap-VERSION.tgz
26 (replacing VERSION with the appropriate version string). If you
27 are reading this file, you probably have already done this!
33 to list available configuration options.
35 The configure script uses environmental variables for determining
36 compiler/linker options including:
38 Variable Description Example
41 CPPFLAGS cpp flags -I/path/include -Ddef
42 LDFLAGS ld flags -L/usr/local/lib
44 PATH command path /usr/local/bin:/usr/bin:/bin
46 3. Configure the build system
48 % [env settings] ./configure [options]
50 If all goes well, the configure script with automatically detect
51 the appropriate settings. However, you may need to specify
52 options and/or environment variables to obtain desired results.
62 If all goes well, the system will build as configured. If not,
63 return to step 3 after reviewing the configuration settings. You
64 may want to consult the Platform Hints subsection of the FAQ if
65 you have not done so already.
67 6. Test the standalone system
69 This step requires the standalone LDAP server, slapd(8), with
74 If all goes well, the system has been built as configured. If
75 not, return to step 4 after reviewing your configuration
76 settings. You may want to consult the Installation section of
77 the FAQ if you have not done so already.
79 7. install the binaries and man pages. You may need to be come the
80 super-user (e.g. root) to do this (depending on where you are
83 % su root -c 'make install'
87 See the OpenLDAP Administrator's Guide and the manual pages for the
88 individual applications for configuration and use information. You may
89 also want to edit the configuration files used by the various
90 components. These configuration files are located in the OpenLDAP
91 configuration directory (normally /usr/local/etc/openldap).
93 ldap.conf client defaults
94 slapd.conf Standalone LDAP daemon
95 schema/*.schema Schema Definitions
97 End of OpenLDAP INSTALL file.
99 $OpenLDAP: pkg/openldap-guide/release/install.sdf,v 1.16 2002/02/18