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

Re: A litte bug in Makefile/configure script (ITS#428)

At 12:05 PM 1/20/00 GMT, Frank.Matthiess@GMX.net wrote:
>Full_Name: Frank Matthieß
>Version: 1.2.8
>OS: RH 6.0 GNU/Linux 2.2.9
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (
>I get the 1.2.8 version, and unpacked it.
>System: RH 6.0, 2.2.9 i486
>I run ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin
>Everything runs fine, but if i want to install the destination of slapd ist

This should (unless you have customized autoconf site configuration)
generate servers/slapd/Makefile with:

srcdir = .
top_srcdir = ../..
prefix = /usr
exec_prefix = ${prefix}
ldap_subdir = openldap

bindir = $(TMPROOT)${exec_prefix}/bin
datadir = $(TMPROOT)${prefix}/share/$(ldap_subdir)
includedir = $(TMPROOT)${prefix}/include
infodir = $(TMPROOT)${prefix}/info
libdir = $(TMPROOT)${exec_prefix}/lib
libexecdir = $(TMPROOT)/usr/sbin
localstatedir = $(TMPROOT)${prefix}/var
mandir = $(TMPROOT)${prefix}/man
sbindir = $(TMPROOT)${exec_prefix}/sbin
sharedstatedir = $(TMPROOT)${prefix}/com
sysconfdir = $(TMPROOT)/etc/$(ldap_subdir)

This is correct.  prefix, sysconfdir, and libexecdir
were replaced as directed.

>The line 30 in servers/slapd/Makesfile looks like this:
>libexecdir = $(TMPROOT)/etc/sbin
>It seems to be this:
>libexecdir = $(TMPROOT)${exec_prefix}/sbin

Which is it?

>Is the configure script wrong?

I believe not.

>Every serverprogramm Makefile has this problem.