Full_Name: Ryan Tandy
Version: master/932a11a, RE24/d961650
OS: Debian unstable
URL:
Submission from: (NULL) (24.68.121.206)
Hi,
nssov can't be installed:
$ cd contrib/slapd-modules/nssov
$ make
[...]
$ sudo make install
mkdir -p /usr/local/libexec/openldap
../../../libtool --mode=install cp nssov.la /usr/local/libexec/openldap
libtool: install: error: cannot install `nssov.la' to a directory not ending in
/usr/local/lib
Makefile:67: recipe for target 'install' failed
make: *** [install] Error 1
The Makefile says "-rpath $(libdir)" where every other contrib module uses
"-rpath $(moduledir)". Changing it to that lets it build, and the resulting
module seems to work.
diff --git a/contrib/slapd-modules/nssov/Makefile
b/contrib/slapd-modules/nssov/Makefile
index 8527ee3..28c8003 100644
--- a/contrib/slapd-modules/nssov/Makefile
+++ b/contrib/slapd-modules/nssov/Makefile
@@ -61,7 +61,7 @@ $(OBJS): nssov.h
nssov.la: $(OBJS) $(XOBJS)
$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
- -rpath $(libdir) -module -o $@ $(OBJS) $(XOBJS) $(LIBS)
+ -rpath $(moduledir) -module -o $@ $(OBJS) $(XOBJS) $(LIBS)
install: nssov.la
mkdir -p $(DESTDIR)$(moduledir)
thanks,
Ryan