[Date Prev][Date Next] [Chronological] [Thread] [Top]

problems installing 1.0 on Solaris 2.5.1 -- 'make install' broken; libldbm built unnecessarily

I just pulled over the "release" version of OpenLDAP and tried to
install it on a Solaris 2.5.1 platform.  I encountered two problems.

1)  I just wanted to install the client-side libraries, so I commented
out the SLAPD lines in Make-common.  However, the build still tried to
build libraries/libldbm, which of course failed, as no definition of
LDBM had been made.  If this library is only used in slapd, it
shouldn't be built unless slapd is built.

I 'solved' the problem by deleting the libldbm directory.  There seemed
to be no simpler way.  I'd recommend that libraries/Make-template use
an explicit list of subdirs rather than *.

2)  'make install' seems completely broken with either the Solaris 'make'
program or the GNU make program.  The problem is that the installation
directories are defined *after* they are used, so they are effectively
not defined.  This is a problem...

 Bill Janssen  <janssen@parc.xerox.com> (650) 812-4763  FAX: (650) 812-4777
 Xerox Palo Alto Research Center, 3333 Coyote Hill Rd, Palo Alto, CA  94304
 URL:  ftp://ftp.parc.xerox.com/pub/ilu/misc/janssen.html