Bug #5741: Upgrading rudder-inventory-ldap between two major OS versions makes slapd unable to operate because of BerkeleyDB (backport)
rudder-inventory-ldap fails to build on old Debian OSes
On old Debians (less than wheezy), the rudder-inventory-ldap compilation fails on:
19:05:33 checking db.h presence... no 19:05:33 configure: WARNING: db.h: accepted by the compiler, rejected by the preprocessor! 19:05:33 configure: WARNING: db.h: proceeding with the compiler's result 19:05:33 checking for db.h... yes 19:05:33 checking for Berkeley DB major version in db.h... conftest.c:128:16: error: db.h: No such file or directory 19:05:33 1 19:05:33 checking for Berkeley DB minor version in db.h... conftest.c:128:16: error: db.h: No such file or directory 19:05:33 0 19:05:33 checking if Berkeley DB version supported by BDB/HDB backends... no 19:05:33 configure: error: BerkeleyDB version incompatible with BDB/HDB backends 19:05:33 make: *** [configure-stamp] Error 1
It seems it is just because ./configure fails to detect db.h whereas it exists... if I force it to acknowledge "everything is all right", the package builds successfuly...
(The attached patch shows the override I used).
I don't know how can we solve this...
Help ! :)
Updated by Matthieu CERDA over 6 years ago
- Status changed from Discussion to Pending technical review
- Assignee set to Benoît PECCATTE
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/612
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.
- Announcement 2.10 2.11
- Changelog 2.10 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/