Actions
Bug #6215
closedBug #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
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
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[1]: *** [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 ! :)
Files
Actions