[Pkg-openldap-devel] DEBIAN / UBUNTU OPENLDAP WILL NOT BUILD FROM SOURCE
GI Joe
medic333333 at gmail.com
Mon May 23 02:17:29 UTC 2016
ps... --->[Not. The vars were undefined in [context]. (Yes, I realize
that's kinda vague... but, I went thru that hours ago) See below. ]....
vagueness recollection: VERSION_OPTION and GSSAPI_LIB stuff gave me fits
during everything in "./libraries"
On Sun, May 22, 2016 at 9:14 PM, GI Joe <medic333333 at gmail.com> wrote:
> ---->>>[OK. Why? Is this to work around the contrib modules (specifically
> smbk5pwd) being set up to build with gnutls, while you're building with
> openssl?]
>
> Just testing... as I was saying... it appears that the problems originate
> around all of that gssapi/samba stuff inserted circa 2009. IMHO, It
> should still be able to compile, test, install properly no matter what
> libraries are finally linked. (Try Redhat/Centos)
>
> ---->>>[(I was expecting a 'dch --local', or some other edit to
> debian/changelog, at this point, to distinguish your package from the
> archive version...)]
>
> Not yet. Don't need to since I'm doing this as prep work before rolling
> out a 'final edition'. Gotta be able to install and run it, first. THEN
> build debs.
>
> ---->>>[dh binary --with autoreconf --builddirectory=/.../openldap-2.4.42+dfsg/debian/build
> --parallel]
>
> Same thing. dh executes to install target on "binary." Builddirectory is
> resolved in debian/rules as the same thing at line 34...
> builddir := $(CURDIR)/debian/build
>
> Autoreconf usually unnecessary too when working with a virgin source tree
> or after a clean.
>
> ---->>>[ Missing '--with autoreconf' might explain why you find yourself
> having to edit configure.in, while missing --builddirectory would explain
> the error about missing libtool I remarked on earlier. ]
>
> Not. The vars were undefined in [context]. (Yes, I realize that's kinda
> vague... but, I went thru that hours ago) See below.
> ....
>
> fakeroot dpkg-buildpackage comes after I know this thing is going to
> install and execute and pass a couple hundred tests.
>
> ---->>> 'dpkg-buildpackage -us -uc -b' does succeed for me, though, with
> no changes at all to the package. So maybe try using that instead?]
>
> Try running an ldapsearch -ZZ resulting in TLS 1.2 from Debian/GnuTLS to
> about 2000 other openldap servers running on Redhat or CentOS and you'll
> understand pretty quick. Try adding a few more overlays and backends,
> too.
>
> Run a "clean" or veryclean; and then try rebuilding and see what happens.
> (PITA)
>
>
>
>
> (BELOW: After my changes)
>
> build/top.mk:VERSION_OPTION = @VERSION_OPTION@
> <<<<-------------------------------
> clients/tools/Makefile:VERSION_OPTION = -Wl,--version-script=
> clients/Makefile:VERSION_OPTION = -Wl,--version-script=
> config.log:VERSION_OPTION='-Wl,--version-script='
> config.status:S["VERSION_OPTION"]="-Wl,--version-script="
> configure:VERSION_OPTION
> configure:VERSION_OPTION=""
> configure: VERSION_OPTION="-Wl,--version-script="
> configure:VERSION_OPTION=""
> configure: VERSION_OPTION="-Wl,--version-script="
> configure.in:VERSION_OPTION=
> configure.in:VERSION_OPTION=""
> configure.in: VERSION_OPTION="-Wl,--version-script="
> configure.in:AC_SUBST(VERSION_OPTION)
> configure.in:VERSION_OPTION=""
> configure.in: VERSION_OPTION="-Wl,--version-script="
> configure.in:AC_SUBST(VERSION_OPTION)
> debian/patches/gssapi.diff: AC_SUBST(VERSION_OPTION)
> debian/patches/gssapi.diff:+VERSION_OPTION=""
> debian/patches/gssapi.diff:+ VERSION_OPTION="-Wl,--version-script="
> debian/patches/gssapi.diff:+AC_SUBST(VERSION_OPTION)
> debian/patches/libldap-symbol-versions:+ifneq (,$(VERSION_OPTION))
> debian/patches/libldap-symbol-versions:+ VERSION_FLAGS =
> "$(VERSION_OPTION)$(XXDIR)/libldap.map"
> debian/patches/libldap-symbol-versions:+VERSION_OPTION = @VERSION_OPTION@
> debian/patches/libldap-symbol-versions:+VERSION_OPTION=""
> debian/patches/libldap-symbol-versions:+
> VERSION_OPTION="-Wl,--version-script="
> debian/patches/libldap-symbol-versions:+AC_SUBST(VERSION_OPTION)
> debian/patches/libldap-symbol-versions:+ifneq (,$(VERSION_OPTION))
> debian/patches/libldap-symbol-versions:+ VERSION_FLAGS =
> $(VERSION_OPTION)$(srcdir)/libldap.map
> debian/patches/libldap-symbol-versions:+ifneq (,$(VERSION_OPTION))
> debian/patches/libldap-symbol-versions:+ VERSION_FLAGS =
> "$(VERSION_OPTION)$(srcdir)/liblber.map"
> debian/build/config.log:VERSION_OPTION=''
> doc/man/man8/Makefile:VERSION_OPTION = -Wl,--version-script=
> doc/man/man5/Makefile:VERSION_OPTION = -Wl,--version-script=
> doc/man/man3/Makefile:VERSION_OPTION = -Wl,--version-script=
> doc/man/man1/Makefile:VERSION_OPTION = -Wl,--version-script=
> doc/man/Makefile:VERSION_OPTION = -Wl,--version-script=
> doc/Makefile:VERSION_OPTION = -Wl,--version-script=
> include/Makefile:VERSION_OPTION = -Wl,--version-script=
> libraries/liblber/Makefile.in:ifneq (,$(VERSION_OPTION))
> libraries/liblber/Makefile.in: VERSION_FLAGS =
> "$(VERSION_OPTION)$(srcdir)/liblber.map"
> libraries/liblber/Makefile:VERSION_OPTION = -Wl,--version-script=
> libraries/liblber/Makefile:ifneq (,$(VERSION_OPTION))
> libraries/liblber/Makefile: VERSION_FLAGS =
> "$(VERSION_OPTION)$(srcdir)/liblber.map"
> libraries/liblunicode/Makefile:VERSION_OPTION = -Wl,--version-script=
> libraries/libldap_r/Makefile.in:ifneq (,$(VERSION_OPTION))
> libraries/libldap_r/Makefile.in: VERSION_FLAGS =
> "$(VERSION_OPTION)$(XXDIR)/libldap.map"
> libraries/libldap_r/Makefile:VERSION_OPTION = -Wl,--version-script=
> libraries/libldap_r/Makefile:ifneq (,$(VERSION_OPTION))
> libraries/libldap_r/Makefile: VERSION_FLAGS =
> "$(VERSION_OPTION)$(XXDIR)/libldap.map"
> libraries/libldap/Makefile.in:ifneq (,$(VERSION_OPTION))
> libraries/libldap/Makefile.in: VERSION_FLAGS =
> $(VERSION_OPTION)$(srcdir)/libldap.map
> libraries/libldap/Makefile:VERSION_OPTION = -Wl,--version-script=
> libraries/libldap/Makefile:ifneq (,$(VERSION_OPTION))
> libraries/libldap/Makefile: VERSION_FLAGS =
> $(VERSION_OPTION)$(srcdir)/libldap.map
> libraries/liblutil/Makefile:VERSION_OPTION = -Wl,--version-script=
> libraries/librewrite/Makefile:VERSION_OPTION = -Wl,--version-script=
> libraries/Makefile:VERSION_OPTION = -Wl,--version-script=
> Makefile:VERSION_OPTION = -Wl,--version-script=
> Makefile:VERSION_OPTION=
> Makefile.in:VERSION_OPTION=
> servers/slapd/back-sql/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-sock/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-bdb/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-null/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-ldap/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-perl/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-ldif/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-dnssrv/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-hdb/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/shell-backends/Makefile:VERSION_OPTION =
> -Wl,--version-script=
> servers/slapd/back-ndb/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-relay/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/overlays/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-passwd/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-shell/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/slapi/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-mdb/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-monitor/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/back-meta/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/slapd/Makefile:VERSION_OPTION = -Wl,--version-script=
> servers/Makefile:VERSION_OPTION = -Wl,--version-script=
> tests/progs/Makefile:VERSION_OPTION = -Wl,--version-script=
> tests/Makefile:VERSION_OPTION = -Wl,--version-script=
>
> build/top.mk:GSSAPI_LIBS = @GSSAPI_LIBS@
> build/top.mk:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS)
> $(TLS_LIBS) $(AUTH_LIBS)
> clients/tools/Makefile:GSSAPI_LIBS =
> clients/tools/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> clients/Makefile:GSSAPI_LIBS =
> clients/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS)
> $(TLS_LIBS) $(AUTH_LIBS)
> config.log:GSSAPI_LIBS=''
> config.status:S["GSSAPI_LIBS"]=""
> configure:GSSAPI_LIBS
> configure:GSSAPI_LIBS=
> configure: LIBS="$LIBS $GSSAPI_LIBS"
> configure: ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi"
> configure: ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi_krb5"
> configure: ol_link_gssapi=yes;GSSAPI_LIBS="-lgss"
> configure.in:GSSAPI_LIBS=
> configure.in:GSSAPI_LIBS=
> configure.in: LIBS="$LIBS $GSSAPI_LIBS"
> configure.in:
> [ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi"],
> configure.in:
> [ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi_krb5"],
> configure.in:
> [ol_link_gssapi=yes;GSSAPI_LIBS="-lgss"],
> configure.in:AC_SUBST(GSSAPI_LIBS)
> debian/patches/gssapi.diff:+GSSAPI_LIBS=
> debian/patches/gssapi.diff:+ LIBS="$LIBS $GSSAPI_LIBS"
> debian/patches/gssapi.diff:+
> [ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi"],
> debian/patches/gssapi.diff:+
> [ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi_krb5"],
> debian/patches/gssapi.diff:+
> [ol_link_gssapi=yes;GSSAPI_LIBS="-lgss"],
> debian/patches/gssapi.diff:+AC_SUBST(GSSAPI_LIBS)
> debian/patches/gssapi.diff:+GSSAPI_LIBS = @GSSAPI_LIBS@
> debian/patches/gssapi.diff:+SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> debian/build/config.log:GSSAPI_LIBS=''
> doc/man/man8/Makefile:GSSAPI_LIBS =
> doc/man/man8/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> doc/man/man5/Makefile:GSSAPI_LIBS =
> doc/man/man5/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> doc/man/man3/Makefile:GSSAPI_LIBS =
> doc/man/man3/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> doc/man/man1/Makefile:GSSAPI_LIBS =
> doc/man/man1/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> doc/man/Makefile:GSSAPI_LIBS =
> doc/man/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS)
> $(TLS_LIBS) $(AUTH_LIBS)
> doc/Makefile:GSSAPI_LIBS =
> doc/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS)
> $(TLS_LIBS) $(AUTH_LIBS)
> include/Makefile:GSSAPI_LIBS =
> include/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS)
> $(TLS_LIBS) $(AUTH_LIBS)
> libraries/liblber/Makefile:GSSAPI_LIBS =
> libraries/liblber/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> libraries/liblunicode/Makefile:GSSAPI_LIBS =
> libraries/liblunicode/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> libraries/libldap_r/Makefile:GSSAPI_LIBS =
> libraries/libldap_r/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> libraries/libldap/Makefile:GSSAPI_LIBS =
> libraries/libldap/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> libraries/liblutil/Makefile:GSSAPI_LIBS =
> libraries/liblutil/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> libraries/librewrite/Makefile:GSSAPI_LIBS =
> libraries/librewrite/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> libraries/Makefile:GSSAPI_LIBS =
> libraries/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS)
> $(TLS_LIBS) $(AUTH_LIBS)
> Makefile:GSSAPI_LIBS =
> Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS)
> $(TLS_LIBS) $(AUTH_LIBS)
> Makefile:GSSAPI_LIBS=
> Makefile.in:GSSAPI_LIBS=
> servers/slapd/back-sql/Makefile:GSSAPI_LIBS =
> servers/slapd/back-sql/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-sock/Makefile:GSSAPI_LIBS =
> servers/slapd/back-sock/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-bdb/Makefile:GSSAPI_LIBS =
> servers/slapd/back-bdb/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-null/Makefile:GSSAPI_LIBS =
> servers/slapd/back-null/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-ldap/Makefile:GSSAPI_LIBS =
> servers/slapd/back-ldap/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-perl/Makefile:GSSAPI_LIBS =
> servers/slapd/back-perl/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-ldif/Makefile:GSSAPI_LIBS =
> servers/slapd/back-ldif/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-dnssrv/Makefile:GSSAPI_LIBS =
> servers/slapd/back-dnssrv/Makefile:SECURITY_LIBS = $(SASL_LIBS)
> $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-hdb/Makefile:GSSAPI_LIBS =
> servers/slapd/back-hdb/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/shell-backends/Makefile:GSSAPI_LIBS =
> servers/slapd/shell-backends/Makefile:SECURITY_LIBS = $(SASL_LIBS)
> $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-ndb/Makefile:GSSAPI_LIBS =
> servers/slapd/back-ndb/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-relay/Makefile:GSSAPI_LIBS =
> servers/slapd/back-relay/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/overlays/Makefile:GSSAPI_LIBS =
> servers/slapd/overlays/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-passwd/Makefile:GSSAPI_LIBS =
> servers/slapd/back-passwd/Makefile:SECURITY_LIBS = $(SASL_LIBS)
> $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-shell/Makefile:GSSAPI_LIBS =
> servers/slapd/back-shell/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/slapi/Makefile:GSSAPI_LIBS =
> servers/slapd/slapi/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-mdb/Makefile:GSSAPI_LIBS =
> servers/slapd/back-mdb/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-monitor/Makefile:GSSAPI_LIBS =
> servers/slapd/back-monitor/Makefile:SECURITY_LIBS = $(SASL_LIBS)
> $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/back-meta/Makefile:GSSAPI_LIBS =
> servers/slapd/back-meta/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/slapd/Makefile:GSSAPI_LIBS =
> servers/slapd/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> servers/Makefile:GSSAPI_LIBS =
> servers/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS)
> $(TLS_LIBS) $(AUTH_LIBS)
> tests/progs/Makefile:GSSAPI_LIBS =
> tests/progs/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS)
> $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)
> tests/Makefile:GSSAPI_LIBS =
> tests/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS)
> $(TLS_LIBS) $(AUTH_LIBS)
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Sun, May 22, 2016 at 7:55 PM, Ryan Tandy <ryan at nardis.ca> wrote:
>
>> On Sun, May 22, 2016 at 04:02:32PM -0500, GI Joe wrote:
>>
>>> If you can create a VM of ubuntu 14.04, 1604 OR Debian 8....
>>>
>>
>> schroot -c xenial-amd64 -u root
>>
>> ✓
>>
>> 1) apt-get your build dependencies and build tools.
>>>
>>
>> apt-get install devscripts ubuntu-dev-tools
>> apt-get build-dep openldap
>>
>> ✓
>>
>> 2) apt-get source slapd.
>>>
>>
>> Get:1 http://ca.archive.ubuntu.com/ubuntu xenial/main openldap
>> 2.4.42+dfsg-2ubuntu3 (dsc) [3,032 B]
>> Get:2 http://ca.archive.ubuntu.com/ubuntu xenial/main openldap
>> 2.4.42+dfsg-2ubuntu3 (tar) [4,813 kB]
>> Get:3 http://ca.archive.ubuntu.com/ubuntu xenial/main openldap
>> 2.4.42+dfsg-2ubuntu3 (diff) [176 kB]
>>
>> ✓
>>
>> [edit your configure.options as you wish (FYI... I usually enable *all*
>>> backends and overlays... and use tls=openssl)]
>>>
>>
>> I'm going to stick with the configuration shipped in the package, for the
>> moment.
>>
>> (I was expecting a 'dch --local', or some other edit to debian/changelog,
>> at this point, to distinguish your package from the archive version...)
>>
>> 3) dh binary
>>>
>>> That SHOWS you everything you need to know.
>>>
>>
>> I think you want 'debian/rules binary' or some sort of dpkg-buildpackage
>> command. See below.
>>
>> -----------------------------
>>>
>>> I've deleted out all of the overrides in debian/rules (virtually
>>> everything
>>> special regarding anything in ./contrib/slapd-modules)
>>>
>>
>> OK. Why? Is this to work around the contrib modules (specifically
>> smbk5pwd) being set up to build with gnutls, while you're building with
>> openssl?
>>
>>
>>> I've also added blank var VERSION_OPTIONS= and GSSAPI_LIBS to
>>> configure.in
>>>
>>>
>> Why?
>>
>> Doing all of that allows a complete compile and, as I type this msg to
>>> you,
>>> it's running the tests.
>>>
>>
>> Over here, running just 'dh binary' failed to compile. I have a suspicion
>> about why that is: 'debian/rules binary' doesn't invoke just 'dh binary',
>> but a longer command:
>>
>> dh binary --with autoreconf
>> --builddirectory=/.../openldap-2.4.42+dfsg/debian/build --parallel
>>
>> Missing '--with autoreconf' might explain why you find yourself having to
>> edit configure.in, while missing --builddirectory would explain the
>> error about missing libtool I remarked on earlier.
>>
>> 'debian/rules binary' also failed for me, which I wasn't expecting:
>> configure failed in the gssapi part, and I'm not sure why.
>>
>> 'dpkg-buildpackage -us -uc -b' does succeed for me, though, with no
>> changes at all to the package. So maybe try using that instead?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20160522/a24925c7/attachment-0001.html>
More information about the Pkg-openldap-devel
mailing list