ltb-project / openldap-deb

Debian packages for OpenLDAP
http://ltb-project.org/wiki/documentation/openldap-deb
GNU General Public License v3.0
14 stars 13 forks source link

review compilation options for new major version of OpenLDAP #61

Closed davidcoutadeur closed 3 years ago

davidcoutadeur commented 3 years ago

The new major version of OpenLDAP is an opportunity to review the compilation options.

Some options must be removed:

Some options must be added / replaced

davidcoutadeur commented 3 years ago

Current configure line is:

./configure --disable-dependency-tracking --prefix=${LDAPDIR} --libdir=${LDAPDIR}/${_LIB} --enable-hdb --enable-bdb --enable-overlays --enable-modules --enable-dynamic=no --with-tls=openssl --enable-debug --with-cyrus-sasl --enable-spasswd --enable-ppolicy --enable-crypt --enable-ldap -enable-slapi --enable-meta --enable-sock --enable-wrappers --enable-rlookups
davidcoutadeur commented 3 years ago

New proposition of configure options:

To discuss:

Note : as backends and overlays are configured as modules, do not forget to verify that the minimal moduleload line is present in configuration (at least mdb)

davidcoutadeur commented 3 years ago

Some useful info catched today on mailing list:

https://bugs.openldap.org/show_bug.cgi?id=9463

--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- I would note that this set of fixes has completely destabilized the test suite, resulting in a 96% failure rate when back-wiredtiger is enabled. There's likely significantly more work that needs to be done to make this backend usable.

davidcoutadeur commented 3 years ago

Final configure line is:

./configure --prefix=${LDAPDIR} --libdir=${LDAPDIR}/${_LIB} --enable-modules=yes --enable-overlays=mod --enable-backends=mod --enable-dynamic=yes --with-tls=openssl --enable-debug --with-cyrus-sasl --enable-spasswd --enable-ppolicy=mod --enable-crypt --enable-slapi --enable-mdb=mod --enable-ldap=mod --enable-meta=mod --enable-sock=mod --enable-wrappers --enable-rlookups --enable-argon2=yes --enable-otp=mod --enable-balancer=mod --enable-sql=no --enable-ndb=no --enable-wt=no --enable-perl=no

At this point (e9a2f14), compilation options seem ready