===============================================
This file provides brief instructions on how to build and install
-OpenLDAP on UNIX (and UNIX-like) system. More detailed information
+OpenLDAP on UNIX (and UNIX-like) systems. More detailed information
and instructions can be found in The OpenLDAP Administrator's Guide
(available from http://www.openldap.org/doc/).
to list available configuration options.
- Note also that the configure script uses environmental variables
- for determining compiler/linker options including:
+ The configure script also looks for compiler/linker options on
+ the command line and in the environment. These include:
Variable Description Example
CC C compiler gcc
CFLAGS C flags -O -g
- CPPFLAGS cpp flags -I/path/include -DFOO=42
+ CPPFLAGS cpp flags -I/path/include -D__FOO__=42
LDFLAGS ld flags -L/usr/local/lib
LIBS libraries -llib
PATH command path /usr/local/bin:/usr/bin:/bin
3. Configure the build system:
- % [env settings] ./configure [options]
+ % ./configure [options] [var=value ...]
If all goes well, the configure script will automatically detect
the appropriate settings. If the configure script fails, you
should read the config.log file that it generated to see what it
- was trying to do and exactly what failed. You may need to specify
- additional options and/or environment variables besides those
- listed above to obtain desired results, depending on your operating
+ was trying to do and exactly what failed. You may need to
+ specify additional options and/or variables besides those listed
+ above to obtain desired results, depending on your operating
system. The Platform Hints section of the FAQ provides help for
operating system related problems.
6. Test the standalone system:
- This step requires the standalone LDAP server, slapd(8), with
- BDB or HDB support.
+ This step requires the standalone LDAP server, slapd(8), with HDB
+ and/or BDB support.
% make test
settings. You may want to consult the Installation section of
the FAQ if you have not done so already.
-7. Install the software. You may need to be come the super-user
+7. Install the software. You may need to become the super-user
(e.g. root) to do this (depending on where you are installing
things):
This work is part of OpenLDAP Software <http://www.openldap.org/>.
-Copyright 1998-2011 The OpenLDAP Foundation.
+Copyright 1998-2013 The OpenLDAP Foundation.
All rights reserved.
Redistribution and use in source and binary forms, with or without