mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Skip replication test if slurpd doesn't exist.
Update Install document with testing step and other minor changes.
This commit is contained in:
parent
febafbdf28
commit
41f649ef16
48
INSTALL
48
INSTALL
@ -64,21 +64,41 @@ these steps:
|
|||||||
% make
|
% make
|
||||||
|
|
||||||
If all goes well, the system will build as configured. If not,
|
If all goes well, the system will build as configured. If not,
|
||||||
return to step 4 after reviewing the enable/with options settings.
|
return to step 4 after reviewing the configuration settings.
|
||||||
|
|
||||||
7. install the binaries and man pages. You may need to be superuser to
|
You may want to consult the doc/install/hints file for your
|
||||||
|
platform.
|
||||||
|
|
||||||
|
7. Test the standalone system
|
||||||
|
|
||||||
|
This step requires the standalone LDAP server (slapd) with
|
||||||
|
LDBM support.
|
||||||
|
|
||||||
|
% cd tests
|
||||||
|
% make
|
||||||
|
|
||||||
|
If all goes well, the system has been built as configured. If not,
|
||||||
|
return to step 4 after reviewing your configuration settings.
|
||||||
|
|
||||||
|
You may want to consult the doc/install/hints file for your
|
||||||
|
platform.
|
||||||
|
|
||||||
|
8. install the binaries and man pages. You may need to be superuser to
|
||||||
do this (depending on where you are installing things):
|
do this (depending on where you are installing things):
|
||||||
|
|
||||||
% su
|
% su
|
||||||
# make install
|
# make install
|
||||||
|
|
||||||
That's it! See the man pages for the individual clients for information
|
That's it!
|
||||||
on configuring and using them. Eventually you will probably want to
|
|
||||||
edit the configuration files used by the various clients (installed in
|
|
||||||
the LDAP etc directory). The files are:
|
|
||||||
|
|
||||||
|
See the man pages for the individual applications for
|
||||||
|
information on configuring and using them. You may also want
|
||||||
|
to edit the configuration files used by the various clients.
|
||||||
|
These configuration files are located in the OpenLDAP
|
||||||
|
configuration directory (normally /usr/local/etc/openldap).
|
||||||
|
|
||||||
|
ldap.conf - LDAP defaults
|
||||||
ldapfilter.conf - search filter configuration
|
ldapfilter.conf - search filter configuration
|
||||||
ldapfriendly - mapping of X.500 names to human-friendly names
|
|
||||||
ldapsearchprefs.conf - search object definitions
|
ldapsearchprefs.conf - search object definitions
|
||||||
ldaptemplates.conf - display template definitions
|
ldaptemplates.conf - display template definitions
|
||||||
|
|
||||||
@ -126,10 +146,11 @@ variables for determining compiler/linker options. This can
|
|||||||
be used to manual specify features and compilation options.
|
be used to manual specify features and compilation options.
|
||||||
|
|
||||||
Supported Environmental Variables
|
Supported Environmental Variables
|
||||||
CC C Compiler (cc, ecgs)
|
CC C compiler (cc, egcc)
|
||||||
CFLAGS C Flags (-ansi)
|
CFLAGS C flags (-ansi)
|
||||||
CPPFLAGS CPP Flags (-I/path/include -Ddef)
|
CPPFLAGS cpp flags (-I/path/include -Ddef)
|
||||||
LDFLAGS LDFLAGS (-L/path/lib -llib)
|
LDFLAGS ld flags (-s)
|
||||||
|
LIBS libraries (-L/usr/local/lib -llib)
|
||||||
PATH command path /usr/local/bin:/usr/bin:/bin
|
PATH command path /usr/local/bin:/usr/bin:/bin
|
||||||
|
|
||||||
* Including alternative compilers
|
* Including alternative compilers
|
||||||
@ -137,7 +158,7 @@ Supported Environmental Variables
|
|||||||
use a specific compiler. For example, to use ecgs
|
use a specific compiler. For example, to use ecgs
|
||||||
instead of the compiler configure choose, use:
|
instead of the compiler configure choose, use:
|
||||||
|
|
||||||
[env] CC=ecgs ./configure
|
[env] CC=egcc ./configure
|
||||||
|
|
||||||
You can also use CC use specific flags with the
|
You can also use CC use specific flags with the
|
||||||
specified compiler. For example, to require strict
|
specified compiler. For example, to require strict
|
||||||
@ -187,4 +208,5 @@ HINTS
|
|||||||
LDFLAGS="-L/usr/local/lib" \
|
LDFLAGS="-L/usr/local/lib" \
|
||||||
./configure
|
./configure
|
||||||
|
|
||||||
|
|
||||||
End of OpenLDAP INSTALL file.
|
End of OpenLDAP INSTALL file.
|
||||||
|
@ -12,6 +12,12 @@
|
|||||||
|
|
||||||
. scripts/defines.sh
|
. scripts/defines.sh
|
||||||
|
|
||||||
|
if test ! -x $SLURPD ; then
|
||||||
|
echo ">>>>> $SLURPD is not executable or do not exist."
|
||||||
|
echo ">>>>> Test skipped."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Cleaning up in $DBDIR..."
|
echo "Cleaning up in $DBDIR..."
|
||||||
rm -f $DBDIR/[!C]*
|
rm -f $DBDIR/[!C]*
|
||||||
echo "Cleaning up in $REPLDIR..."
|
echo "Cleaning up in $REPLDIR..."
|
||||||
|
Loading…
Reference in New Issue
Block a user