1 This file gives some helpful hints for building LDAP on various machines.
3 LDAP has been built and tested on the following platforms. It will
4 probably build fine under similar versions of the OS (e.g. it has
5 been built and tested under SunOS 4.1.4, but probably builds fine
6 under all SunOS 4.1.x systems).
8 If you port LDAP to a new platform, let us know so we can add it here.
9 See the end of this file for some hints on doing a port. The following
10 tables give some indication of the level of support there is for various
11 platforms where the LDAP release has been built. Key:
13 X - all pieces are known to build and work
14 B - all pieces build and are believed to work
15 S - some pieces build and work
16 O - an older LDAP release has been ported here; current status unknown
18 - - does not build and/or work at all
20 ** Unix and Unix-like platforms:
22 OS Version libraries clients ldapd slapd slurpd
23 ---------- --------- ------- ----- ----- ------
24 AIX 3.2.5 X X B B -(1)
26 HP-UX 9.05 X X ? B -(1)
28 Linux 1.3.76 X X O X -(1)
30 FreeBSD 2.0.5 X X ? B ?
34 NeXTSTEP 3.2 O O ? ? ?
45 IRIX 5.x/6.x B B ? B ?
47 NCR MP-RAS 2.3 X X ? ? ?
49 (1) - required threads support not provided by vendor
51 ** Non-Unix Platforms:
53 OS Version libraries clients ldapd slapd slurpd
54 ---------- --------- ------- ----- ----- ------
56 (see the file libraries/macintosh/README for build instructions)
59 (see the file libraries/msdos/README for build instructions)
61 MS-Windows 3.x O - - - -
62 (see the file libraries/msdos/README.WSA for build instructions)
64 MS-Win NT & 95 O ? ? ? ?
67 (see the file libraries/vms/README.VMS for build instructions)
70 ** Hints on Porting LDAP to a New Platform
72 If your platform is not listed here, you will need to do a port. The
73 place to start for Unix systems is by creating a new directory under
74 the LDAP build/platforms directory and creating an appropriate
75 Make-platform file. It is probably easiest to start by duplicating a
76 directory there that is for a platform similar to yours.
78 Variables commonly set in the Make-platform files include:
80 CC - compiler to use, e.g. CC=cc or CC=gcc
81 PLATFORMCFLAGS - flags added to every compile
82 PLATFORMLDFLAGS - flags added to every link
83 PLATFORMLIBS - extra libraries needed (added to the end of all link commands)
84 LDBMLIB - ndbm library, needed if not in libc (e.g. LDBMLIB=-lndbm)
85 NEEDUNPROTO=yes - set if your compiler doesn't understand prototypes; see the
86 sunos4-cc and hpux-cc files for example usage
87 INSTALL - BSD-like install command; if necessary, you can use a script
88 we provide: INSTALL=$(LDAPSRC)/build/install.sh
89 RANLIB - command to convert libraries for efficient random access;
90 if your system has no ranlib, use RANLIB = ""
91 other commands - see the file build/Make-append for a list
93 You will also need to modify the top-level LDAP Makefile .make-platform
94 rule to know about your platform. Finally, you should look through the
95 include/portable.h file and make any necessary adjustments.
97 Please send changes via e-mail to: ldap-support@umich.edu so they can be
98 incorporated into future releases.