changed notes changed state Open to Test moved from Incoming to Contrib
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
ryan@nardis.ca wrote: > 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: Thanks, fixed now in master > > $ 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 > > -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
changed notes changed state Test to Release
fixed in master fixed in RE24 fixed in RE25
changed notes changed state Release to Closed